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

Keep wifi config

This commit is contained in:
Ycarus (Yannick Chabanois) 2020-05-20 17:33:07 +02:00
parent 208d8f8c5f
commit 5cf990dd7d

View file

@ -1,12 +0,0 @@
#!/bin/sh
if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
uci -q show wireless.default_radio0 && {
uci -q batch <<-EOF >/dev/null
delete wireless.default_radio0
commit wireless
EOF
}
fi
exit 0