1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 06:15:21 +02:00
openwrt-xburst/package/madwifi/files/etc/hotplug.d/net/10-madwifi
nbd ef0bb0a891 madwifi: change the network scripts to use the new wds sta separation feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30 05:22:16 +00:00

13 lines
292 B
Plaintext

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