mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 17:50:38 +02:00
872cbfb521
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18365 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
293 B
Plaintext
13 lines
293 B
Plaintext
if [ "$ACTION" = "add" -o "$ACTION" = "register" ]; then
|
|
case "$INTERFACE" in
|
|
wlan*.sta*)
|
|
local BASEIF="${INTERFACE%%\.*}"
|
|
|
|
include /lib/network
|
|
scan_interfaces
|
|
local CONFIG="$(find_config "$BASEIF")"
|
|
[ -n "$CONFIG" ] && setup_interface "$INTERFACE" "$CONFIG"
|
|
;;
|
|
esac
|
|
fi
|