X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fresources%2Fadvanced%2Fcode.sh;fp=example%2Fdiameter%2Flauncher%2Fresources%2Fadvanced%2Fcode.sh;h=0000000000000000000000000000000000000000;hb=7bf36f6cec41494071f07699184d8230ccd8cb41;hp=9ca200ccb88f3bf4830f4560b921ceca9b7a40e7;hpb=08bdffbddf4bc0938eadec51af88de18734beda3;p=anna.git diff --git a/example/diameter/launcher/resources/advanced/code.sh b/example/diameter/launcher/resources/advanced/code.sh deleted file mode 100755 index 9ca200c..0000000 --- a/example/diameter/launcher/resources/advanced/code.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -> curl_log.txt -TRACE="--trace-ascii curl_log.txt" -SERVER=`cat .httpServer` - -use () { - - echo "Use: $0 " - echo - echo "Creates '.hex' with encoded result." - echo - exit -} - -echo -[[ "$1" = "" ]] && use -[[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; } -echo -operation="code|$1|${1}.hex" -curl -m 1 --data "$operation" $TRACE ${SERVER} -