mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-02 03:17:48 +00:00
maverick: add the last 3 bytes of the serial to the Maverick ssid
Fixes: WIFI-7202 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -16,12 +16,14 @@ wifi config
|
||||
|
||||
. /lib/functions.sh
|
||||
|
||||
SUFFIX=$(uci get system.@system[0].hostname | tail -c 7 | tr a-f A-F | tr -d '\n')
|
||||
|
||||
radio_enable() {
|
||||
uci set wireless.$1.disabled=0
|
||||
}
|
||||
|
||||
ssid_set() {
|
||||
uci set wireless.$1.ssid='Maverick'
|
||||
uci set wireless.$1.ssid=Maverick-${SUFFIX}
|
||||
}
|
||||
|
||||
delete_forwarding() {
|
||||
|
||||
Reference in New Issue
Block a user