5 echo "Use: $0 <xml_file> [2c]"
7 echo "Sends 'xml_file' to the diameter server or to the client when '2c' parameter is provided."
13 [[ "$1" = "" ]] && use
14 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
16 operation="sendxml|$1"
17 [[ "$2" = "2c" ]] && operation="sendxml2c|$1"
19 ./operation.sh "$operation"