rpms/apcupsd/F-7 apcupsd-3.14.0-init.patch,1.1,1.2

Orion Poplawski (orion) fedora-extras-commits at redhat.com
Tue May 29 17:06:18 UTC 2007


Author: orion

Update of /cvs/pkgs/rpms/apcupsd/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16085

Modified Files:
	apcupsd-3.14.0-init.patch 
Log Message:
Remove portions applied upstream


apcupsd-3.14.0-init.patch:

Index: apcupsd-3.14.0-init.patch
===================================================================
RCS file: /cvs/pkgs/rpms/apcupsd/F-7/apcupsd-3.14.0-init.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apcupsd-3.14.0-init.patch	23 Apr 2007 20:01:28 -0000	1.1
+++ apcupsd-3.14.0-init.patch	29 May 2007 17:06:11 -0000	1.2
@@ -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}"




More information about the fedora-extras-commits mailing list