diff options
author | Roman Kyrylych <roman@archlinux.org> | 2008-03-01 00:04:01 +0200 |
---|---|---|
committer | Roman Kyrylych <roman@archlinux.org> | 2008-03-01 00:04:01 +0200 |
commit | 1b5eeefa5a859a9c26a717603bd4c0e9fb74de82 (patch) | |
tree | 2c881cf1b9a9273924618b5430468c5e5168aeac /rc.sysinit | |
parent | 4d0920ede7ce9c3d67e03c67b9ee584cf1a3fe9d (diff) |
Do not mount /proc/bus/usb if commented in fstab
Fixes FS#9451
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -303,7 +303,7 @@ if [ -e /proc/mounts ]; then fi if grep -qw usbfs /proc/filesystems; then # Some people use custom permissions for their usbfs - if grep -qw /proc/bus/usb /etc/fstab; then + if grep -v "^#" /etc/fstab | grep -qw /proc/bus/usb ; then mount /proc/bus/usb else mount -t usbfs none /proc/bus/usb |