2019-01-04

This commit is contained in:
monlor
2019-01-04 22:47:51 +08:00
parent 9cd5a45d92
commit 22040c33c5
9 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -35,9 +35,9 @@ case "$method" in
;;
show)
if [ -z "${uciname}" ]; then
uci -q show ${appname} | sed -e "/${appname}.[a-z]\+\=config/d" -e 's/${appname}\.[a-z]\+\.//'
uci -q show ${appname} | sed -e "/${appname}.[a-z]\+\=config/d" -e "s/${appname}\.[a-z]\+\.//"
else
uci -q get ${appname}.${uciname} &> /dev/null && uci -q show ${appname}.${uciname} | sed -e "/${appname}.[a-z]\+\=config/d" -e 's/${appname}\.[a-z]\+\.//'
uci -q get ${appname}.${uciname} &> /dev/null && uci -q show ${appname}.${uciname} | sed -e "/${appname}.[a-z]\+\=config/d" -e "s/${appname}\.[a-z]\+\.//"
fi
;;
clear)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.