1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## 01UPSTREAM_autofs-5.0.4-add-lsb-init-script-parameter-block.patch
4
## DP: Upstream patch on top of 5.0.4.
7
autofs-5.0.4 - add lsb init script parameter block
9
From: Ian Kent <raven@themaw.net>
15
redhat/autofs.init.in | 11 ++++++++++-
16
samples/rc.autofs.in | 11 ++++++++++-
17
3 files changed, 21 insertions(+), 2 deletions(-)
20
diff --git a/CHANGELOG b/CHANGELOG
21
index 4df6a60..aab3209 100644
25
- fix return start status on fail.
26
- fix double free in expire_proc().
27
- another easy alloca replacements fix.
28
+- add LSB init script parameter block.
30
4/11/2008 autofs-5.0.4
31
-----------------------
32
diff --git a/redhat/autofs.init.in b/redhat/autofs.init.in
33
index 471667e..0fd1777 100644
34
--- a/redhat/autofs.init.in
35
+++ b/redhat/autofs.init.in
37
# processname: /usr/sbin/automount
38
# config: /etc/auto.master
39
# description: Automounts filesystems on demand
44
+# Should-Start: $network $ypbind
45
+# Should-Stop: $network $ypbind
46
+# Default-Start: 3 4 5
47
+# Default-Stop: 0 1 2 6
48
+# Short-Description: Automounts filesystems on demand
49
+# Description: Automounts filesystems on demand
52
# Location of the automount daemon and the init directory
54
diff --git a/samples/rc.autofs.in b/samples/rc.autofs.in
55
index 2877fe2..63a0c5d 100644
56
--- a/samples/rc.autofs.in
57
+++ b/samples/rc.autofs.in
59
# On most distributions, this file should be called:
60
# /etc/rc.d/init.d/autofs or /etc/init.d/autofs or /etc/rc.d/rc.autofs
66
+# Should-Start: $network $ypbind
67
+# Should-Stop: $network $ypbind
68
+# Default-Start: 3 4 5
69
+# Default-Stop: 0 1 2 6
70
+# Short-Description: Automounts filesystems on demand
71
+# Description: Automounts filesystems on demand
74
# Location of the automount daemon and the init directory