6 PID
=`pidof -o %PPID /usr/sbin/knockd`
9 stat_busy
"Starting Port-Knocking Daemon"
10 if [ -z "$PID" ]; then
13 if [ ! -z "$PID" -o $?
-gt 0 ]; then
21 stat_busy
"Stopping Port-Knocking Daemon"
22 [ ! -z "$PID" ] && kill $PID &> /dev
/null
36 echo "usage: $0 {start|stop|restart}"