1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Fix wifi settings

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-10-13 11:25:39 +02:00
parent be8eafb85d
commit 84d36f1123

View file

@ -1,5 +1,5 @@
#!/bin/sh
if [ "$(uci -q get wireless.radio0)" != "" ];
if [ "$(uci -q get wireless.radio0)" != "" ]; then
if [ "$(uci -q get wireless.radio0.country)" = "" ]; then
uci -q batch <<-EOF >/dev/null
set wireless.radio0.country='00'