]> git.pld-linux.org Git - packages/autofs.git/blame - autofs-5.0.4-add-lsb-init-script-parameter-block.patch
- updated to 5.0.5, nfy.
[packages/autofs.git] / autofs-5.0.4-add-lsb-init-script-parameter-block.patch
CommitLineData
e5fd101c
PS
1autofs-5.0.4 - add lsb init script parameter block
2
3From: Ian Kent <raven@themaw.net>
4
5
6---
7
8 CHANGELOG | 1 +
9 redhat/autofs.init.in | 11 ++++++++++-
10 samples/rc.autofs.in | 11 ++++++++++-
11 3 files changed, 21 insertions(+), 2 deletions(-)
12
13
14diff --git a/CHANGELOG b/CHANGELOG
15index 4df6a60..aab3209 100644
16--- a/CHANGELOG
17+++ b/CHANGELOG
18@@ -30,6 +30,7 @@
19 - fix return start status on fail.
20 - fix double free in expire_proc().
21 - another easy alloca replacements fix.
22+- add LSB init script parameter block.
23
24 4/11/2008 autofs-5.0.4
25 -----------------------
26diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
27index 471667e..0fd1777 100644
28--- a/redhat/autofs.init.in
29+++ b/redhat/autofs.init.in
30@@ -6,7 +6,16 @@
31 # processname: /usr/sbin/automount
32 # config: /etc/auto.master
33 # description: Automounts filesystems on demand
34-
35+#
36+### BEGIN INIT INFO
37+# Provides: $autofs
38+# Should-Start: $network $ypbind
39+# Should-Stop: $network $ypbind
40+# Default-Start: 3 4 5
41+# Default-Stop: 0 1 2 6
42+# Short-Description: Automounts filesystems on demand
43+# Description: Automounts filesystems on demand
44+### END INIT INFO
45 #
46 # Location of the automount daemon and the init directory
47 #
48diff --git a/samples/rc.autofs.in b/samples/rc.autofs.in
49index 2877fe2..63a0c5d 100644
50--- a/samples/rc.autofs.in
51+++ b/samples/rc.autofs.in
52@@ -5,7 +5,16 @@
53 # On most distributions, this file should be called:
54 # /etc/rc.d/init.d/autofs or /etc/init.d/autofs or /etc/rc.d/rc.autofs
55 #
56-
57+#
58+### BEGIN INIT INFO
59+# Provides: $autofs
60+# Should-Start: $network $ypbind
61+# Should-Stop: $network $ypbind
62+# Default-Start: 3 4 5
63+# Default-Stop: 0 1 2 6
64+# Short-Description: Automounts filesystems on demand
65+# Description: Automounts filesystems on demand
66+### END INIT INFO
67 #
68 # Location of the automount daemon and the init directory
69 #
This page took 0.033476 seconds and 4 git commands to generate.