6 PID
=`pidof -o %PPID /usr/sbin/mcelog`
9 stat_busy
"Starting mcelog"
10 if [ -z "$PID" ]; then
11 /usr
/sbin
/mcelog
--daemon --pidfile /var
/run
/mcelog.pid
13 if [ ! -z "$PID" -o $?
-gt 0 ]; then
21 stat_busy
"Stopping mcelog"
22 [ ! -z "$PID" ] && kill $PID &>/dev
/null
36 echo "usage: $0 {start|stop|restart}"
This page took 2.016483 seconds and 4 git commands to generate.