summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/bpi0-armhf-rb/etc/rc.local4
-rwxr-xr-xhosts/hb0-armhf-rb/etc/rc.local4
-rwxr-xr-xhosts/profitbricks-build2-amd64/etc/rc.local4
3 files changed, 6 insertions, 6 deletions
diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local
index d98b2916..f11b6b56 100755
--- a/hosts/bpi0-armhf-rb/etc/rc.local
+++ b/hosts/bpi0-armhf-rb/etc/rc.local
@@ -17,7 +17,7 @@ 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
+date --set="-400 days"
+echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root
exit 0
diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local
index d98b2916..f11b6b56 100755
--- a/hosts/hb0-armhf-rb/etc/rc.local
+++ b/hosts/hb0-armhf-rb/etc/rc.local
@@ -17,7 +17,7 @@ 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
+date --set="-400 days"
+echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root
exit 0
diff --git a/hosts/profitbricks-build2-amd64/etc/rc.local b/hosts/profitbricks-build2-amd64/etc/rc.local
index 7940adf5..9f9cb358 100755
--- a/hosts/profitbricks-build2-amd64/etc/rc.local
+++ b/hosts/profitbricks-build2-amd64/etc/rc.local
@@ -17,7 +17,7 @@ systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.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
+date --set="-400 days"
+echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root
exit 0