Author: glen
Date: Thu Nov  1 03:32:28 2007
New Revision: 8937

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- no need to source udev configs here
- just umount /initrd/dev without checking

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit    (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit    Thu Nov  1 03:32:28 2007
@@ -181,20 +181,14 @@
                /bin/dmesg -n $CONSOLE_LOGLEVEL
        fi
 
-       if [ -f /etc/udev/udev.conf ];then
-               . /etc/udev/udev.conf
-       fi
-
        [ -x /sbin/start_udev ] && /sbin/start_udev
 
        # Unmount the initrd, if necessary
-       if grep -q /initrd /proc/mounts 2>/dev/null && ! grep -q /initrd/loopfs 
/proc/mounts 2>/dev/null ; then
-               if [ -e /initrd/dev/.devfsd ]; then
-                       umount /initrd/dev
-               fi
+       if grep -q /initrd /proc/mounts 2>/dev/null && ! grep -q /initrd/loopfs 
/proc/mounts 2>/dev/null; then
                if [ -e /initrd/dev/.devfsd ]; then
                        umount /initrd/dev
                fi
+               umount /initrd/dev 2>/dev/null
                umount /initrd
                /sbin/blockdev --flushbufs /dev/ram0 >/dev/null 2>&1
        fi
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to