6 PID
=$
(pidof
-o %PPID
/usr
/sbin
/cnid_metad
)
9 stat_busy
"Starting cnid Daemon"
10 [ -z $PID ] && /usr
/sbin
/cnid_metad
14 PID
=$
(pidof
-o %PPID
/usr
/sbin
/cnid_metad
)
15 echo "$PID" > /var
/run
/cnid.pid
21 stat_busy
"Stopping cnid Daemon"
22 [ ! -z $PID ] && kill "$PID" &> /dev
/null
37 echo "usage: $0 {start|stop|restart}"