~ubuntu-branches/ubuntu/raring/autofs5/raring

« back to all changes in this revision

Viewing changes to debian/patches/01UPSTREAM_autofs-5.0.4-add-lsb-init-script-parameter-block.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Jan Christoph Nordholz
  • Date: 2009-08-28 21:24:14 UTC
  • mfrom: (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090828212414-z9xvmo5kdpm26vxv
Tags: 5.0.4-3
* Fix LSB initscript header to use keywords that
  insserv knows about. Closes: #541841.
* Bump Standards version to 3.8.3.
  * Add README.source.

* Upload sponsored by Petter Reinholdtsen.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 01UPSTREAM_autofs-5.0.4-add-lsb-init-script-parameter-block.patch
 
3
##
 
4
## DP: Upstream patch on top of 5.0.4.
 
5
 
 
6
@DPATCH@
 
7
autofs-5.0.4 - add lsb init script parameter block
 
8
 
 
9
From: Ian Kent <raven@themaw.net>
 
10
 
 
11
 
 
12
---
 
13
 
 
14
 CHANGELOG             |    1 +
 
15
 redhat/autofs.init.in |   11 ++++++++++-
 
16
 samples/rc.autofs.in  |   11 ++++++++++-
 
17
 3 files changed, 21 insertions(+), 2 deletions(-)
 
18
 
 
19
 
 
20
diff --git a/CHANGELOG b/CHANGELOG
 
21
index 4df6a60..aab3209 100644
 
22
--- a/CHANGELOG
 
23
+++ b/CHANGELOG
 
24
@@ -30,6 +30,7 @@
 
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.
 
29
 
 
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
 
36
@@ -6,7 +6,16 @@
 
37
 # processname: /usr/sbin/automount
 
38
 # config: /etc/auto.master
 
39
 # description: Automounts filesystems on demand
 
40
-
 
41
+#
 
42
+### BEGIN INIT INFO
 
43
+# Provides: $autofs
 
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
 
50
+### END INIT INFO
 
51
 #
 
52
 # Location of the automount daemon and the init directory
 
53
 #
 
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
 
58
@@ -5,7 +5,16 @@
 
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
 
61
 #
 
62
-
 
63
+#
 
64
+### BEGIN INIT INFO
 
65
+# Provides: $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
 
72
+### END INIT INFO
 
73
 #
 
74
 # Location of the automount daemon and the init directory
 
75
 #