summaryrefslogtreecommitdiffstats
path: root/hosts/hb0-armhf-rb
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/hb0-armhf-rb')
-rwxr-xr-xhosts/hb0-armhf-rb/etc/rc.local7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local
index 9493d09d..d98b2916 100755
--- a/hosts/hb0-armhf-rb/etc/rc.local
+++ b/hosts/hb0-armhf-rb/etc/rc.local
@@ -11,6 +11,13 @@
#
# By default this script does nothing.
+systemctl disable systemd-timesyncd
+systemctl disable systemd-timedated
+systemctl stop systemd-timesyncd
+systemctl stop systemd-timedated
+ntpdate -b us.pool.ntp.org
echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+date --set="+400 days"
+echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
exit 0