6 lockfile
=$
(grep lockfile
/etc
/slim.conf |
tr -s " " | cut
-d" " -f2)
7 pid
=$
(pidof
-o %PPID
/usr
/bin
/slim
)
11 stat_busy
"Starting Simple Login Manager"
12 [ -z "$pid" ] && /usr
/bin
/slim
-d >/dev
/null
2>&1
21 stat_busy
"Stopping Simple Login Manager"
23 [ ! -z "$pid" ] && kill $pid >/dev
/null
2>&1
37 echo "usage: $0 {start|stop|restart}"