Improvements & fixes
[anna.git] / example / diameter / launcher / resources / advanced / loadXml.sh
diff --git a/example/diameter/launcher/resources/advanced/loadXml.sh b/example/diameter/launcher/resources/advanced/loadXml.sh
deleted file mode 100755 (executable)
index 26749d5..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-> curl_log.txt
-TRACE="--trace-ascii curl_log.txt"
-SERVER=`cat .httpServer`
-
-use () {
-
-   echo "Use: $0 <xml_file>"
-   echo
-   echo "Load xml file and show on stdout again."
-   echo "It is useful to test xml loader and xml viewer, but also for show aliases and,"
-   echo "if '-ignoreFlags' commandline option is missing, for flag coherence checking."
-   echo
-   exit
-}
-
-echo
-[[ "$1" = "" ]] && use
-[[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
-echo
-operation="loadxml|$1"
-curl -m 1 --data "$operation" $TRACE ${SERVER}
-