Author: pluto
Date: Thu Dec  4 20:49:17 2008
New Revision: 10022

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- allow usb group to operate on /proc/bus/usb.

Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit    (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit    Thu Dec  4 20:49:17 2008
@@ -326,7 +326,7 @@
        fi
 
        if [ "$usb" = "1" -a ! -f /proc/bus/usb/devices ]; then
-               run_cmd "Mounting USB filesystem" mount -n -t usbfs usbfs 
/proc/bus/usb
+               run_cmd "Mounting USB filesystem" mount -n -t usbfs -o 
devgid=78,devmode=664 usbfs /proc/bus/usb
        fi
 
        needusbstorage=
@@ -499,7 +499,7 @@
        # Enter root, /proc, /sys, devfs and other into mtab.
        mount -f /
        mount -f /proc
-       [ -f /proc/bus/usb/devices ] && mount -f -t usbfs usbfs /proc/bus/usb
+       [ -f /proc/bus/usb/devices ] && mount -f -t usbfs -o 
devgid=78,devmode=664 usbfs /proc/bus/usb
        [ -e /dev/.devfsd ] && mount -f -t devfs devfs /dev
 
        if grep -q sysfs /proc/mounts 2>/dev/null; then
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to