mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
5501cf6ed8
SVN-Revision: 18365
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
|