1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-17 09:22:27 +02:00
openwrt-xburst/package/base-files/files/etc/hotplug.d/usb/10-usb-storage

14 lines
191 B
Plaintext
Raw Normal View History

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