summaryrefslogtreecommitdiffstats
path: root/debian/buildsys/common/bcfg2.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/buildsys/common/bcfg2.init')
-rw-r--r--debian/buildsys/common/bcfg2.init11
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