From aab2e256da90b021a3d7927a03e19550a92dd070 Mon Sep 17 00:00:00 2001 From: Omar Kallel Date: Tue, 2 Jun 2020 16:36:55 +0100 Subject: [PATCH] Reboot: CommandKey with spaces --- scripts/icwmp.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/icwmp.sh b/scripts/icwmp.sh index f125051..2d2ff8c 100644 --- a/scripts/icwmp.sh +++ b/scripts/icwmp.sh @@ -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