From 1b5eeefa5a859a9c26a717603bd4c0e9fb74de82 Mon Sep 17 00:00:00 2001 From: Roman Kyrylych Date: Sat, 1 Mar 2008 00:04:01 +0200 Subject: Do not mount /proc/bus/usb if commented in fstab Fixes FS#9451 Signed-off-by: Roman Kyrylych --- rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index 1dae885..f331ffd 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -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 -- cgit v1.2.3