Author: gotar
Date: Sun Oct 26 14:43:28 2008
New Revision: 9922

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
   rc-scripts/trunk/sysconfig/system
Log:
- introduce START_UDEV variable


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit    (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit    Sun Oct 26 14:43:28 2008
@@ -126,7 +126,6 @@
                        grep -q securityfs /proc/filesystems 2>/dev/null ; then
                                mount -n -o gid=17 -t securityfs securityfs 
/sys/kernel/security
                fi
-                                                                               
                                
        fi
 
        # selinux
@@ -204,7 +203,9 @@
                /bin/dmesg -n $CONSOLE_LOGLEVEL
        fi
 
-       [ -x /sbin/start_udev ] && /sbin/start_udev
+       if ! is_no "$START_UDEV"; then
+               [ -x /sbin/start_udev ] && /sbin/start_udev
+       fi
 
        # Unmount the initrd, if necessary
        if grep -q /initrd /proc/mounts 2>/dev/null && ! grep -q /initrd/loopfs 
/proc/mounts 2>/dev/null; then
@@ -793,7 +794,7 @@
        # now we have /usr mounted, recheck if we have gettext and tput 
available.
        if is_no "$TPUT"; then
                GETTEXT=
-               TPUT=
+               TPUT=
                rc_gettext_init
        fi
 

Modified: rc-scripts/trunk/sysconfig/system
==============================================================================
--- rc-scripts/trunk/sysconfig/system   (original)
+++ rc-scripts/trunk/sysconfig/system   Sun Oct 26 14:43:28 2008
@@ -72,6 +72,9 @@
 # Mount devfs (Device Filesystem, Obsolete) to /dev
 MOUNT_DEVFS=no
 
+# Start udev (udev-core required)?
+START_UDEV=yes
+
 # EVMS/LVM options
 # Extensible Firmware Interface GUID Partition Table segment manager
 EVMS_GUID_PTABLE=no
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to