Here is an updated patch.  It occured to me that for systems using
LDAP (libnss-ldapd) instead of NIS, autofs should probably start after
the nslcd daemon too.  This patch make sure it does.

diff -ur autofs-4.1.4+debian/debian/patches/084_init_lsb_header.dpatch 
autofs-4.1.4+debian-pere/debian/patches/084_init_lsb_header.dpatch
--- autofs-4.1.4+debian/debian/patches/084_init_lsb_header.dpatch       
2009-08-14 19:21:12.000000000 +0200
+++ autofs-4.1.4+debian-pere/debian/patches/084_init_lsb_header.dpatch  
2009-08-14 19:23:42.000000000 +0200
@@ -7,14 +7,15 @@

 --- autofs-4.1.4+debian/samples/rc.autofs.in.orig      2007-07-05 
16:43:32.000000000 +0200
 +++ autofs-4.1.4+debian/samples/rc.autofs.in   2007-07-05 16:43:42.000000000 
+0200
-@@ -9,6 +9,16 @@
+@@ -9,6 +9,17 @@
  # On most distributions, this file should be called:
  # /etc/rc.d/init.d/autofs or /etc/init.d/autofs
  #
 +### BEGIN INIT INFO
 +# Provides:            autofs
-+# Required-Start:      $local_fs
-+# Required-Stop:       $local_fs
++# Required-Start:      $remote_fs $syslog
++# Required-Stop:       $remote_fs $syslog
++# Should-Start:        ypbind nslcd
 +# Default-Start:       2 3 4 5
 +# Default-Stop:                0 1 6
 +# Short-Description:   automount daemon

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to