From eed313273c5c02039ce4e7233e41b4b1841f452d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Lindh=C3=A9?= Date: Fri, 6 Apr 2018 11:48:48 +0200 Subject: Add timestamp and reboot command to reboot --- script/restart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/restart.sh b/script/restart.sh index 39c17f4..36afe84 100644 --- a/script/restart.sh +++ b/script/restart.sh @@ -17,5 +17,6 @@ fi tswithoffset=$(($lastts + $offset)) if [ $now -gt $tswithoffset ]; then - echo "Restart" + echo "Restart $now" + #reboot fi -- cgit v1.2.1