added usb-storage hotpluging
[openwrt/svn-archive/archive.git] / package / base-files / files / etc / hotplug.d / usb / 10-usb-storage
1 #!/bin/sh
2
3 # Copyright (C) 2006 OpenWrt.org
4
5 case "$ACTION" in
6 add)
7 [ -n "${INTERFACE}" ] &&
8 [ "$(expr substr ${INTERFACE} 1 2)" == "8/" ] && {
9 /sbin/usb-storage &
10 }
11 ;;
12 esac
13