From 5698192bd7361dd0afae05f1706eb36220d363d6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 12 Jul 2011 11:49:49 +0200 Subject: [PATCH] mountfs: mount usbfs according to fstab configuration --- etc/rc.d/init.d/mountfs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/etc/rc.d/init.d/mountfs b/etc/rc.d/init.d/mountfs index 945143f..491352e 100755 --- a/etc/rc.d/init.d/mountfs +++ b/etc/rc.d/init.d/mountfs @@ -30,8 +30,6 @@ case "$1" in grep -v "^/dev/root.old" >/etc/mtab rm -f /etc/mtab~ /etc/mtab~~ - [ ! -f /proc/bus/usb/devices ] && mount -t usbfs usbfs /proc/bus/usb - $PLYMOUTH --sysinit # The follow mount command will mount all file systems. If you @@ -40,7 +38,7 @@ case "$1" in # below. All file systems that are added to the variable in the # form of no will be skipped. - NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nousbfs,nodevfs" + NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nodevfs" echo -n "Mounting remaining file systems: " mount -a -t $NO_FS @@ -55,7 +53,7 @@ case "$1" in # [ -f /proc/bus/usb/devices ] && umount /proc/bus/usb >/dev/null 2>&1 # umount -l /proc # umount -l /sys - NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nousbfs,nodevfs" + NO_FS="nonfs,nosmbfs,noproc,nosysfs,nousbdevfs,nodevfs" sync umount -a -f -r -t $NO_FS >/dev/null 2>&1 evaluate_retval