From 248a367108471324e28a57e6f5607689ba091fbf Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Jun 05 2007 17:36:40 +0000 Subject: Remove parts applied upstream --- diff --git a/apcupsd-3.14.0-init.patch b/apcupsd-3.14.0-init.patch index 86062d9..3ea38f6 100644 --- a/apcupsd-3.14.0-init.patch +++ b/apcupsd-3.14.0-init.patch @@ -9,30 +9,3 @@ # description: apcupsd monitors power and takes action if necessary # APCPID=@PIDDIR@/apcupsd.pid -@@ -42,13 +42,24 @@ - rm -f $APCPID - rm -f @LOCKDIR@/subsys/apcupsd - ;; -- restart) -+ restart|force-reload) - $0 stop - sleep 15 - $0 start - ;; -+ reload) -+ echo "$0: reload not implemented" -+ exit 3 -+ ;; - status) -- @sbindir@/apcaccess status -+ status apcupsd -+ RETVAL=$? -+ if [ $RETVAL -eq 0 ] -+ then -+ @sbindir@/apcaccess status -+ else -+ exit $RETVAL -+ fi - ;; - *) - echo "Usage: $0 {start|stop|restart|status}"