2
0
forked from Ivasoft/openwrt

added usb-storage hotpluging

SVN-Revision: 7684
This commit is contained in:
John Crispin
2007-06-20 22:05:15 +00:00
parent fa799b9b4c
commit 2fe37ccdf6
3 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/sh
# Copyright (C) 2006 OpenWrt.org
case "$ACTION" in
add)
[ -n "${INTERFACE}" ] &&
[ "$(expr substr ${INTERFACE} 1 2)" == "8/" ] && {
/sbin/usb-storage &
}
;;
esac