mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-01 10:57:47 +00:00
* backport latest netifd, mac8021, hostapd, iw * maverick and certificate fixes * update ucentral-wifi * update ucentral-client * add qcom hk14 wifi 6e support (pine) * add tplink ex228 Signed-off-by: John Crispin <john@phrozen.org>
26 lines
473 B
Bash
Executable File
26 lines
473 B
Bash
Executable File
#!/bin/sh
|
|
|
|
rm /etc/config/network /etc/config/wireless
|
|
cp /rom/etc/config/uhttpd /rom/etc/config/firewall /rom/etc/config/dhcp /rom/etc/config/dropbear /etc/config
|
|
config_generate
|
|
wifi config
|
|
|
|
. /lib/functions.sh
|
|
|
|
radio_enable() {
|
|
uci set wireless.$1.disabled=0
|
|
}
|
|
|
|
ssid_set() {
|
|
uci set wireless.$1.ssid='Maverick'
|
|
}
|
|
|
|
config_load wireless
|
|
config_foreach radio_enable wifi-device
|
|
config_foreach ssid_set wifi-iface
|
|
uci commit
|
|
|
|
/etc/init.d/ucentral stop
|
|
|
|
reload_config
|