另外想问一下,
[code:1]
if [ $usb = 1 -a ! -f /sys/bus/usb/devices ]; then
action $"Mounting USB filesystem: " mount -t usbdevfs usbdevfs /sys/bus/usb
fi
needusbstorage=
if [ $usb = "1" ]; then
needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /sys/bus/usb/devices 2>/dev/null`
action $"Initializing USB HID interface: " modprobe usbhid 2> /dev/null
# action $"Initializing USB keyboard: " modprobe usbkbd 2> /dev/null
# action $"Initializing USB mouse: " modprobe usbmouse 2> /dev/null
fi
[/code:1]
是什么意思呀??为什么要mount 上/sys/bus/usb/devices呢?还要加载上usbhid模块呢??我将前面的usb=0后,系统上也能用usb呀?