4 [ -f /etc
/conf.d
/wifizoo
] && .
/etc
/conf.d
/wifizoo
9 PID
=`ps -eo pid,cmd | grep wifizoo.py | grep -v grep | awk {'print $1;'}`
12 stat_busy
"Starting Wifizoo"
13 if [ -z "${PID}" ]; then
15 python2 wifizoo.py
${WIFIZOO_ARGS} &> /dev
/null
&
17 if [ ! -z "$PID" -o $?
-gt 0 ]; then
25 stat_busy
"Stopping Wifizoo"
26 [ ! -z "${PID}" ] && kill ${PID} &> /dev
/null
40 echo "usage: $0 {start|stop|restart}"