Ensure ddnsc doesn't throw UCI errors
parent
755e1cf139
commit
9436474412
|
@ -97,7 +97,7 @@ function stop {
|
|||
|
||||
|
||||
function status {
|
||||
if [ "$(uci get ddns.myddns.enabled)" == "1" ]; then
|
||||
if [ "$(uci -q get ddns.myddns.enabled)" == "1" ]; then
|
||||
echo "1"
|
||||
else
|
||||
echo "0"
|
||||
|
|
Loading…
Reference in New Issue