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

« back to all changes in this revision

Viewing changes to debian/patches/10lsb_initscript.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:
8
8
@DPATCH@
9
9
--- autofs5-5.0.4.orig/samples/rc.autofs.in     2009-03-11 21:21:51.517895474 +0100
10
10
+++ autofs5-5.0.4/samples/rc.autofs.in  2009-03-11 21:30:02.804892695 +0100
11
 
@@ -2,9 +2,16 @@
12
 
 #
13
 
 # rc file for automount using a Sun-style "master map".
14
 
 #
15
 
-# On most distributions, this file should be called:
16
 
-# /etc/rc.d/init.d/autofs or /etc/init.d/autofs or /etc/rc.d/rc.autofs
17
 
-#
18
 
+### BEGIN INIT INFO
19
 
+# Provides:            autofs
20
 
+# Required-Start:      $local_fs
21
 
+# Required-Stop:       $local_fs
22
 
+# Default-Start:       2 3 4 5
23
 
+# Default-Stop:                0 1 6
24
 
+# Short-Description:   automount daemon
25
 
+# Description:         daemon to mount (possibly remote) filesystems
26
 
+#                      automatically upon entering the mountpoint
27
 
+### END INIT INFO
28
 
 
29
 
 #
30
 
 # Location of the automount daemon and the init directory
31
 
@@ -66,28 +73,29 @@
 
11
@@ -7,11 +7,13 @@
 
12
 #
 
13
 #
 
14
 ### BEGIN INIT INFO
 
15
-# Provides: $autofs
 
16
-# Required-Start: $network $ypbind
 
17
-# Required-Stop: $network $ypbind
 
18
-# Default-Start: 3 4 5
 
19
-# Default-Stop: 0 1 2 6
 
20
+# Provides: autofs
 
21
+# Required-Start: $network $remote_fs $syslog
 
22
+# Required-Stop: $network $remote_fs $syslog
 
23
+# Should-Start: ypbind nslcd
 
24
+# Should-Stop: ypbind nslcd
 
25
+# Default-Start: 2 3 4 5
 
26
+# Default-Stop: 0 1 6
 
27
 # Short-Description: Automounts filesystems on demand
 
28
 # Description: Automounts filesystems on demand
 
29
 ### END INIT INFO
 
30
@@ -75,28 +82,29 @@
32
31
                fi
33
32
        fi
34
33
 
64
63
                echo "failed."
65
64
        fi
66
65
        return $RETVAL
67
 
@@ -124,7 +132,7 @@
 
66
@@ -133,7 +141,7 @@
68
67
        stop)
69
68
                stop
70
69
                ;;
73
72
                restart
74
73
                ;;
75
74
        forcerestart)
76
 
@@ -135,7 +143,7 @@
 
75
@@ -144,7 +152,7 @@
77
76
                reload
78
77
                ;;
79
78
        *)