Blob Blame History Raw
autofs-5.0.4 - add lsb init script parameter block

From: Ian Kent <raven@themaw.net>


---

 redhat/autofs.init.in |   11 ++++++++++-
 samples/rc.autofs.in  |   11 ++++++++++-
 2 files changed, 20 insertions(+), 2 deletions(-)


--- autofs-5.0.3.orig/redhat/autofs.init.in
+++ autofs-5.0.3/redhat/autofs.init.in
@@ -6,7 +6,16 @@
 # processname: /usr/sbin/automount
 # config: /etc/auto.master
 # description: Automounts filesystems on demand
-
+#
+### BEGIN INIT INFO
+# Provides: $autofs
+# Required-Start: $network $ypbind
+# Required-Stop: $network $ypbind
+# Default-Start: 3 4 5
+# Default-Stop: 0 1 2 6
+# Short-Description: Automounts filesystems on demand
+# Description: Automounts filesystems on demand
+### END INIT INFO
 #
 # Location of the automount daemon and the init directory
 #
--- autofs-5.0.3.orig/samples/rc.autofs.in
+++ autofs-5.0.3/samples/rc.autofs.in
@@ -5,7 +5,16 @@
 # On most distributions, this file should be called:
 # /etc/rc.d/init.d/autofs or /etc/init.d/autofs or /etc/rc.d/rc.autofs
 #
-
+#
+### BEGIN INIT INFO
+# Provides: $autofs
+# Required-Start: $network $ypbind
+# Required-Stop: $network $ypbind
+# Default-Start: 3 4 5
+# Default-Stop: 0 1 2 6
+# Short-Description: Automounts filesystems on demand
+# Description: Automounts filesystems on demand
+### END INIT INFO
 #
 # Location of the automount daemon and the init directory
 #