aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Lindhé <andreas@lindhe.io>2018-04-06 11:48:48 +0200
committerAndreas Lindhé <andreas@lindhe.io>2018-04-06 11:48:48 +0200
commiteed313273c5c02039ce4e7233e41b4b1841f452d (patch)
tree470d6a3281421513517d6ad2eb372f1cb5745523
parent679807de0c52b074bd3e0d62cfadf1c3a21dfc5c (diff)
downloadmidbro-eed313273c5c02039ce4e7233e41b4b1841f452d.tar.gz
midbro-eed313273c5c02039ce4e7233e41b4b1841f452d.tar.bz2
Add timestamp and reboot command to reboot
-rw-r--r--script/restart.sh3
1 files changed, 2 insertions, 1 deletions
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