1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-21 17:43:19 +02:00
openwrt-xburst/package/base-files/files/etc/hotplug.d/usb/10-usb-storage
blogic b77baef885 added usb-storage hotpluging
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-20 22:05:15 +00:00

14 lines
191 B
Bash

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