6 PID
=$
(pidof
-o %PPID
/usr
/bin
/kdm
)
9 stat_busy
"Starting KDE Desktop Manager"
10 [ -z "$PID" ] && /usr
/bin
/kdm
&>/dev
/null
19 stat_busy
"Stopping KDE Desktop Manager"
20 [ ! -z "$PID" ] && kill $PID &> /dev
/null
34 echo "usage: $0 {start|stop|restart}"