contrib/meshwizard: add madwifi iface options if needed
This commit is contained in:
parent
7cfa62a254
commit
63976f603a
2 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=meshwizard
|
||||
PKG_RELEASE:=0.1.0
|
||||
PKG_RELEASE:=0.1.1
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
|
|
|
@ -59,6 +59,11 @@ uci set wireless.$net\_iface=wifi-iface
|
|||
# create new wifi-iface for $net from defaults
|
||||
set_defaults "wifi_iface_" wireless.$net\_iface
|
||||
|
||||
# overwrite some settings for type atheros (madwifi)
|
||||
if [ "$type" = "atheros" ]; then
|
||||
set_defaults "madwifi_wifi_iface_" wireless.${net}
|
||||
fi
|
||||
|
||||
# overwrite defaults
|
||||
bssid="$($dir/helpers/gen_bssid.sh $channel $community)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue