forked from Ivasoft/openwrt
base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
SVN-Revision: 26848
This commit is contained in:
@@ -80,6 +80,11 @@ start() {
|
||||
}
|
||||
|
||||
load_modules /etc/modules.d/*
|
||||
|
||||
# another round of USB coldplugging to kick devices into operation which lacked drivers before
|
||||
for dev in /sys/bus/usb/devices/*/uevent; do
|
||||
[ -e "$dev" ] && echo -n add > "$dev"
|
||||
done
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
||||
Reference in New Issue
Block a user