Skip to content

Commit

Permalink
maverick: add the last 3 bytes of the serial to the Maverick ssid
Browse files Browse the repository at this point in the history
Fixes: WIFI-7202
Signed-off-by: John Crispin <john@phrozen.org>
  • Loading branch information
blogic committed Mar 2, 2022
1 parent e40631b commit 5d53d13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion feeds/tip/maverick/files/usr/libexec/ucentral/maverick.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 5d53d13

Please sign in to comment.