2019-01-04

This commit is contained in:
monlor
2019-01-04 22:24:36 +08:00
parent 257d4a44d1
commit f071f86358
21 changed files with 17 additions and 17 deletions

View File

@@ -35,9 +35,9 @@ case "$method" in
;;
show)
if [ -z "${uciname}" ]; then
uci -q show ${appname}
uci -q show ${appname} | sed -e "/${appname}.[a-z]\+\=config/d" -e 's/mixbox\.[a-z]\+\.//'
else
uci -q get ${appname}.${uciname} &> /dev/null && uci -q show ${appname}.${uciname}
uci -q get ${appname}.${uciname} &> /dev/null && uci -q show ${appname}.${uciname} | sed -e "/${appname}.[a-z]\+\=config/d" -e 's/mixbox\.[a-z]\+\.//'
fi
;;
clear)