mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-11-03 11:57:58 +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
|
. /lib/functions.sh
|
||||||
|
|
||||||
|
SUFFIX=$(uci get system.@system[0].hostname | tail -c 7 | tr a-f A-F | tr -d '\n')
|
||||||
|
|
||||||
radio_enable() {
|
radio_enable() {
|
||||||
uci set wireless.$1.disabled=0
|
uci set wireless.$1.disabled=0
|
||||||
}
|
}
|
||||||
|
|
||||||
ssid_set() {
|
ssid_set() {
|
||||||
uci set wireless.$1.ssid='Maverick'
|
uci set wireless.$1.ssid=Maverick-${SUFFIX}
|
||||||
}
|
}
|
||||||
|
|
||||||
delete_forwarding() {
|
delete_forwarding() {
|
||||||
|
|||||||
Reference in New Issue
Block a user