diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-11-22 21:10:03 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-11-22 21:10:03 +0000 |
commit | 28f5be4543277452811492752d887dfd7030bfc5 (patch) | |
tree | 163fa6eede29abc46f5c6c4a356dfee5a56ef047 /debian/buildsys/common/bcfg2.init | |
parent | c975468b624f78fb3d94eaf887deaa0dbfe4d3ba (diff) | |
download | bcfg2-28f5be4543277452811492752d887dfd7030bfc5.tar.gz bcfg2-28f5be4543277452811492752d887dfd7030bfc5.tar.bz2 bcfg2-28f5be4543277452811492752d887dfd7030bfc5.zip |
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
Diffstat (limited to 'debian/buildsys/common/bcfg2.init')
-rw-r--r-- | debian/buildsys/common/bcfg2.init | 11 |
1 files changed, 3 insertions, 8 deletions
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 |