Fix devfsd not kicking in on 2.4 on Alpha.
authorTim Yamin <plasmaroo@gentoo.org>
Sun, 13 Aug 2006 20:59:03 +0000 (20:59 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sun, 13 Aug 2006 20:59:03 +0000 (20:59 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@425 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/initrd.scripts

index 4ded9fff0e781517d5fcb8779df14edc6a510a92..d6a2b0c603bc85a5d79d4bc5579260b1069ad3a9 100644 (file)
@@ -319,12 +319,9 @@ start_dev_mgr() {
                [ "${DO_slowusb}" ] && sleep 20
                cd /
        else
-               if [ ! -e /dev/.devfsd ]
-               then
-                       good_msg 'Activating devfs'
-                       mount -t devfs devfs /dev
-                       devfsd /dev -np
-               fi
+               good_msg 'Activating devfs'
+               mount -t devfs devfs /dev 2>/dev/null
+               devfsd /dev -np
        fi
 }