path: powerman_2.4.4-5/debian/powerman.init rc=$? elif type pidof >/dev/null 2>&1; then pids=`pidof -o $$ -x "$PROCNAME" 2>/dev/null` rc=$? else path: powerman_2.4.4-5/debian/powerman.init pids=`pgrep -d ' ' -x "\`basename \"$PROCNAME\"\`" 2>/dev/null` rc=$? elif type pidof >/dev/null 2>&1; then pids=`pidof -o $$ -x "$PROCNAME" 2>/dev/null` rc=$? path: powerman_2.4.4-5/debian/powerman.init LSB) printf "Checking status of $DESC: " pids=`pidofproc ${PIDFILE:+"-p"} ${PIDFILE:+"$PIDFILE"} \ "$DAEMON" 2>/dev/null` STATUS=$?