4 rm *.log* *.csv 2>/dev/null
7 entity_dflt=`cat .entity 2>/dev/null`
8 entityServerSessions_dflt=`cat .entityServerSessions 2>/dev/null`
13 if [ "$entity_dflt" != "" -a "$entityServerSessions_dflt" != "" ]
15 echo "Do you wish to answer wizard commandline configuration ? (y/n) [n]:"
17 [ "$wizard" = "" ] && wizard=n
18 [ "$wizard" = "n" ] && exit
22 #[ "$entity_dflt" = "" ] && entity_dflt="192.168.12.11:3868,192.168.12.21:3868"
23 [ "$entity_dflt" = "" ] && entity_dflt="localhost:3868"
24 [ "$entityServerSessions_dflt" = "" ] && entityServerSessions_dflt=1
29 echo "Diameter entity server sessions (0: diameter entity disabled) [$entityServerSessions_dflt]:"
30 read entityServerSessions
31 [ "$entityServerSessions" = "" ] && entityServerSessions=$entityServerSessions_dflt
34 if test "$entityServerSessions" != "0"
36 echo "Target diameter entity (pipe-separated <ip|hostname>:<port> socket literal list) ["$entity_dflt"]:"
39 [ "$entity" = "" ] && entity="$entity_dflt"
43 | sed 's/_ENTITY_/'$entity'/' \
44 | sed 's/_ENTITY_SERVER_SESSIONS_/'$entityServerSessions'/' \