mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Set country default for wifi
This commit is contained in:
parent
397d89b87f
commit
7a549a6628
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
if [ "$(uci -q get wifi-iface.radio0)" != "" ] && [ "$(uci -q get wifi-iface.default_radio0.key)" = "12345678" ]; then
|
if [ "$(uci -q get wifi-iface.radio0)" != "" ] && [ "$(uci -q get wifi-iface.default_radio0.key)" = "12345678" ]; then
|
||||||
if [ "$(uci -q get wifi-device.radio0.country)" = "" ]; then
|
if [ "$(uci -q get wifi-device.radio0.country)" = "" ]; then
|
||||||
uci -q batch <<-EOF >/dev/null
|
uci -q batch <<-EOF >/dev/null
|
||||||
set wifi-device.radio0.country='00'
|
set wifi-device.radio0.country='FR'
|
||||||
commit wifi-device
|
commit wifi-device
|
||||||
EOF
|
EOF
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue