-#!/bin/ksh
+#!/bin/bash
# Functions & variables
SETUPS_DIR=../../../source/diameter/stack/setups
createRunScript () {
- echo "#!/bin/ksh" > run.sh
+ echo "#!/bin/bash" > run.sh
echo "EXE=\`cat .exe 2>/dev/null\`" >> run.sh
echo "STARTED=\`ps -fea | grep \"\$EXE\" | grep -v grep\`" >> run.sh
echo "[ \"\$EXE\" != \"\" -a \"\$STARTED\" != \"\" ] && { echo \"Already started!\"; echo \"\$STARTED\" ; exit ; }" >> run.sh
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
# Generates DATA burst sequence for provided order number (1: first, 2: second, etc.)
# We will generate a simple scenario with initial, two updates and termination, that is to say: four messages:
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
# Remove logs:
rm *.log* *.csv 2>/dev/null
-#!/bin/ksh
+#!/bin/bash
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
-#!/bin/ksh
+#!/bin/bash
# Generates SMS burst sequence for provided order number (1: first, 2: second, etc.)
SEQN=$1
-#!/bin/ksh
+#!/bin/bash
#@eramos
echo
echo "This script builds autonomous diameter stack ditionaries for current stack commands"
-#!/bin/ksh
+#!/bin/bash
quit() {
echo
-#!/bin/ksh
-
+#!/bin/bash
_exit() {
echo