From 28f5be4543277452811492752d887dfd7030bfc5 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Wed, 22 Nov 2006 21:10:03 +0000 Subject: Packaging fixes * Bring init scripts into line between versions * Change rules to autogenerate doc/manual.html if it doesn't exist git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2519 ce84e21b-d406-0410-9b95-82705330c041 --- debian/buildsys/common/bcfg2.init | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'debian/buildsys/common/bcfg2.init') diff --git a/debian/buildsys/common/bcfg2.init b/debian/buildsys/common/bcfg2.init index 8476c3718..ca6262afc 100644 --- a/debian/buildsys/common/bcfg2.init +++ b/debian/buildsys/common/bcfg2.init @@ -1,5 +1,4 @@ #!/bin/sh -# Start bcfg2 client on startup # # bcfg2 - bcfg2 configuration client # @@ -9,7 +8,7 @@ ### BEGIN INIT INFO # Provides: bcfg2 # Required-Start: $network $named -# Required-Stop: +# Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: S 0 1 6 # Short-Description: Configuration management client @@ -54,19 +53,15 @@ case "$1" in fi exit $STATUS ;; - restart) - $0 stop - $0 start - ;; status) # Since we are always OK, always return OK as status exit 0 ;; - stop|force-reload) + restart|reload|stop|force-reload) true ;; *) - echo "Usage: $0 {start|stop|restart|force-reload|status}" + echo "Usage: $0 {start|stop|restart|reload|force-reload|status}" exit 1 esac -- cgit v1.2.3-1-g7c22