mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Fix uci get
This commit is contained in:
parent
bf33b7ca3b
commit
87cc93eb5c
4 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
if [ "$(uci -q openmptcprouter.latest_versions)" = "" ]; then
|
||||
if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||
if [ "$(uci -q get unbound.@unbound[0].listen_port | grep 5353)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
set unbound.@unbound[-1].listen_port=5353
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
if [ "$(uci -q openmptcprouter.latest_versions)" ]; then
|
||||
if [ "$(uci -q get openmptcprouter.latest_versions)" ]; then
|
||||
if [ "$(uci -q get qos.wan1)" = "" ]; then
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete qos.wan
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ "$(uci -q openmptcprouter.latest_versions)" = "" ]; then
|
||||
if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||
uci -q show wireless.default_radio0 && {
|
||||
uci -q batch <<-EOF >/dev/null
|
||||
delete wireless.default_radio0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
if [ "$(uci -q openmptcprouter.latest_versions)" = "" ]; then
|
||||
if [ "$(uci -q get openmptcprouter.latest_versions)" = "" ]; then
|
||||
if [ "$(uci -q get sqm.wan1)" = "" ]; then
|
||||
wan1="$(uci -q get network.wan1.ifname)"
|
||||
wan2="$(uci -q get network.wan2.ifname)"
|
||||
|
|
Loading…
Reference in a new issue