Remove operation help.
[anna.git] / example / diameter / launcher / deployments / basic / configure.sh
index c473692..092adfc 100755 (executable)
@@ -5,7 +5,7 @@
 #############
 
 # General
-EXE_BN=ADML-launcher
+EXE_BN=ADML
 
 #############
 # FUNCTIONS #
@@ -29,6 +29,7 @@ STARTED=\`pgrep $1$ 2>/dev/null\`
 0> launcher.trace
 rm -f counters/* test-reports/*
 # Execution line:
+export LD_LIBRARY_PATH=\$PWD/dynlibs
 ./$@ --services services.xml &
 echo \$! > .pid
 EOF
@@ -73,7 +74,6 @@ read enable
 KINDNESS=
 echo
 echo "Strict xml for decoded messages ? (y/n) [y]:"
-echo " (ignoring flags turns a made-up xml representation; execute './$EXE_BN | grep -A1 ignoreFlags:' for more help)"
 read strict
 [ "$strict" = "" ] && strict=y
 [ "$strict" = "n" ] && KINDNESS="--ignoreFlags"
@@ -81,7 +81,6 @@ if [ "$option" = "s" ]
 then
   echo
   echo "Ignore errors ? (y/n) [n]:"
-  echo " (ignoring errors, the process won't answer Failed-AVP automatically; execute './$EXE_BN | grep -A1 ignoreErrors:' for more help)"
   read i_errors
   [ "$i_errors" = "" ] && i_errors=n
   [ "$i_errors" = "y" ] && KINDNESS="$KINDNESS --ignoreErrors"
@@ -89,7 +88,7 @@ fi
 
 # Run script:
 EXE_LINK=`basename $PWD`
-ln -sf $EXE_BN $EXE_LINK
+[ "$EXE_BN" != "$EXE_LINK" ] && ln -sf $EXE_BN $EXE_LINK
 
 case $tol in