openwrtv4/package/base-files/files/etc/hotplug.d/usb/10-usb-storage
John Crispin 2fe37ccdf6 added usb-storage hotpluging
SVN-Revision: 7684
2007-06-20 22:05:15 +00:00

13 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