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

Fix uci get

This commit is contained in:
Ycarus 2019-02-03 19:23:55 +01:00
parent bf33b7ca3b
commit 87cc93eb5c
4 changed files with 4 additions and 4 deletions

View file

@ -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