Reboot: CommandKey with spaces

This commit is contained in:
Omar Kallel 2020-06-02 16:36:55 +01:00
parent 4807011f56
commit aab2e256da

View file

@ -504,7 +504,7 @@ handle_action() {
if [ "$action" = "reboot" ]; then
sync
uci set cwmp.acs.ParameterKey=$commandKey
uci set cwmp.acs.ParameterKey="$commandKey"
uci commit
reboot
fi
@ -618,7 +618,7 @@ handle_action() {
;;
reboot)
action="reboot"
commandKey=$arg
commandKey="$arg"
;;
apply)
if [ "$action" = "notification" ]; then