1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 02:56:26 +02:00
openwrt-xburst/package/madwifi/files/etc/hotplug.d/net/10-madwifi

13 lines
292 B
Plaintext
Raw Normal View History

if [ "$ACTION" = "add" -o "$ACTION" = "register" ]; then
case "$INTERFACE" in
ath*.sta*)
local BASEIF="${INTERFACE%%\.*}"
include /lib/network
scan_interfaces
local CONFIG="$(find_config "$BASEIF")"
[ -n "$CONFIG" ] && setup_interface "$INTERFACE" "$CONFIG"
;;
esac
fi