--- /etc/rc.d/apcupsd 2011-07-23 06:26:49.000000000 -0300 +++ apcupsd 2011-08-02 22:45:28.719999992 -0300 @@ -13,8 +13,6 @@ if [ $? -gt 0 ]; then stat_fail else - PID=`pidof -o %PPID /sbin/apcupsd` - echo $PID > /var/run/apcupsd.pid add_daemon apcupsd stat_done fi @@ -25,7 +23,6 @@ if [ $? -gt 0 ]; then stat_fail else - rm /var/run/apcupsd.pid rm_daemon apcupsd stat_done fi