aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 1 insertions, 1 deletions
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