Imported Debian patch 2.3.1-83
[debian/makedev] / debian / init.d
index c3a72e20006215b21325f9d73feee1c2e48f7e4d..d1d01cf0f6750e8542a40e3c1ce69967eb81f409 100644 (file)
@@ -1,5 +1,14 @@
 #! /bin/sh
 
+### BEGIN INIT INFO
+# Provides:            makedev
+# Required-Start:      $local_fs
+# Required-Stop:       $local_fs
+# Default-Start:       2 3 4 5
+# Default-Stop:                0 1 6
+# Short-Description:   Creates device files in /dev
+### END INIT INFO
+
 N=/etc/init.d/makedev
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
@@ -16,7 +25,7 @@ case "$1" in
        # recreation of the devices (MAKEDEV dvb checks the kernel-version 
        # and uses the correct major-number))
        
-       if [ ! -e /dev/.devfsd -a ! -e /dev/.udevdb ]; then
+       if [ ! -e /dev/.devfsd -a ! -e /dev/.udevdb -a ! -e /dev/.udev ]; then
                if [ -d /dev/dvb ]; then
                        cd /dev && ./MAKEDEV dvb
                fi