7 boxexec_full_path
=/usr
/sbin
/$boxexec
8 configfile_path
=/etc
/kannel
/kannel.conf
10 CMD
="/usr/sbin/run_kannel_box $boxexec_full_path $configfile_path"
11 PID
=`pidof -o %PPID $CMD`
15 stat_busy
"Starting $boxexec"
16 [ -z "$PID" ] && $CMD &> /dev
/null
25 stat_busy
"Stopping $boxexec"
26 [ ! -z "$PID" ] && kill $PID &> /dev
/null
40 echo "usage: $0 {start|stop|restart}"