aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rcS.d/020-mountbasic.sh
blob: 9448be61b589c74d15525c736c691b73a68ad4db (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
if [ ! -e /proc/mounts ]; then
	mount -n -t proc /proc /proc
	mount -n -t sysfs /sys /sys >/dev/null 2>&1
fi
if [ ! -d /proc/bus/usb ]; then
	modprobe usbcore >/dev/null 2>&1 && mount -n -t usbfs /proc/bus/usb /proc/bus/usb
else
	mount -n -t usbfs /proc/bus/usb /proc/bus/usb
fi
: