- if [ -f /var/lock/subsys/apcupsd ]; then
- /etc/rc.d/init.d/apcupsd stop >&2
- fi
- rm -f /etc/rc.d/init.d/halt
- if [ -e /etc/rc.d/init.d/halt.rpmorig ]; then
- mv -f /etc/rc.d/init.d/halt /etc/rc.d/init.d/halt.rpmorig
- fi
- /sbin/chkconfig --del apcupsd
+ if [ -f /var/lock/subsys/apcupsd ]; then
+ /etc/rc.d/init.d/apcupsd stop >&2
+ fi
+/sbin/chkconfig --del apcupsd