mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Apply config again only for very old config or needed settings
This commit is contained in:
parent
5df9ee2856
commit
f895376029
6 changed files with 199 additions and 192 deletions
|
@ -1,10 +1,12 @@
|
|||
#!/bin/sh
|
||||
|
||||
uci -q show wireless.default_radio0 && {
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete wireless.default_radio0
|
||||
commit wireless
|
||||
EOF
|
||||
}
|
||||
if [ "$(uci -q 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
|
Loading…
Add table
Add a link
Reference in a new issue