From 9532df813732253c2b063b5c81ffddd9e47a4c73 Mon Sep 17 00:00:00 2001 From: "rtrp@factory1" Date: Sun, 12 Jan 2020 19:22:56 +0000 Subject: [PATCH] adjust shutdown call in shutdown.sh. --- shutdown.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shutdown.sh b/shutdown.sh index 7b674a5..08190c4 100755 --- a/shutdown.sh +++ b/shutdown.sh @@ -39,5 +39,4 @@ getApiUrl curl -X POST --header 'Content-Type: application/json' --header 'Accept: text/html' -d '{"status": "off", "time": "'${logDate}'", "token": "QWERTYuiopasdfghjklzxcvbnm_1234567890"}' "${apiURL}" -sleep 5 -shutdown now +/sbin/shutdown -h now