/[baselayout]/trunk/init.d/localmount
Gentoo

Diff of /trunk/init.d/localmount

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2781 Revision 2782
64 if [ -d /proc/bus/usb -a ! -e /proc/bus/usb/devices ] ; then 64 if [ -d /proc/bus/usb -a ! -e /proc/bus/usb/devices ] ; then
65 local usbfs=$(grep -Fow usbfs /proc/filesystems || 65 local usbfs=$(grep -Fow usbfs /proc/filesystems ||
66 grep -Fow usbdevfs /proc/filesystems) 66 grep -Fow usbdevfs /proc/filesystems)
67 67
68 if [ -n "${usbfs}" ] ; then 68 if [ -n "${usbfs}" ] ; then
69 ebegin $"Mounting USB device filesystem" "(${usbfs})" 69 ebegin "Mounting USB device filesystem (${usbfs})"
70 local usbgid="$(getent group usb | \ 70 local usbgid="$(getent group usb | \
71 sed -e 's/.*:.*:\(.*\):.*/\1/')" 71 sed -e 's/.*:.*:\(.*\):.*/\1/')"
72 mount -t ${usbfs} \ 72 mount -t ${usbfs} \
73 -o ${usbgid:+devmode=0664,devgid=${usbgid},}noexec,nosuid \ 73 -o ${usbgid:+devmode=0664,devgid=${usbgid},}noexec,nosuid \
74 usbfs /proc/bus/usb 74 usbfs /proc/bus/usb

Legend:
Removed from v.2781  
changed lines
  Added in v.2782

  ViewVC Help
Powered by ViewVC 1.1.20