diff options
Diffstat (limited to 'package/base-files/src/lib/mdev/init')
-rw-r--r-- | package/base-files/src/lib/mdev/init | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/package/base-files/src/lib/mdev/init b/package/base-files/src/lib/mdev/init index eec8242a1..35fd212f2 100644 --- a/package/base-files/src/lib/mdev/init +++ b/package/base-files/src/lib/mdev/init @@ -20,3 +20,13 @@ if [ "$SUBSYSTEM" == "pcmcia_socket" ];then /usr/sbin/pcmcia-socket-startup fi fi +if [ "$SUBSYSTEM" == "usb" ];then + if [ "$ACTION" == "add" ];then + if [ "$DEVTYPE" == "usb_device" ];then + logger "USB device added with: $PRODUCT" + if [ "$PRODUCT" == "12d1/1003/0" ];then + test -x /sbin/huawei && /sbin/huawei + fi + fi + fi +fi |