6 PID
=`pidof -o %PPID /usr/lib/urfkill/urfkilld`
9 stat_busy
"Starting rfkill switch daemon"
10 [ -z "$PID" ] && /usr
/lib
/urfkill
/urfkilld
-f &> /dev
/null
11 if [ $?
-lt 0 ] ; then
14 add_daemon urfkilld
# create the 'state' dir
19 stat_busy
"Stopping rfkill switch daemon"
20 [ "$PID" ] && kill $PID &> /dev
/null
24 rm_daemon urfkilld
# remove the 'state' dir
34 echo "usage: $0 {start|stop|restart}"