summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/bpi0-armhf-rb/etc/rc.local11
-rwxr-xr-xhosts/hb0-armhf-rb/etc/rc.local11
-rwxr-xr-xhosts/profitbricks-build3-amd64/etc/rc.local11
-rwxr-xr-xhosts/profitbricks-build5-amd64/etc/rc.local2
-rwxr-xr-xhosts/profitbricks-build6-amd64/etc/rc.local2
-rwxr-xr-xhosts/wbq0-armhf-rb/etc/rc.local11
6 files changed, 2 insertions, 46 deletions
diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/bpi0-armhf-rb/etc/rc.local
+++ b/hosts/bpi0-armhf-rb/etc/rc.local
@@ -13,15 +13,4 @@
echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-# disable running in the future for now
-exit 0
-
-systemctl disable systemd-timesyncd
-systemctl disable systemd-timedated
-systemctl stop systemd-timesyncd
-systemctl stop systemd-timedated
-ntpdate -b de.pool.ntp.org
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0
diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/hb0-armhf-rb/etc/rc.local
+++ b/hosts/hb0-armhf-rb/etc/rc.local
@@ -13,15 +13,4 @@
echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-# disable running in the future for now
-exit 0
-
-systemctl disable systemd-timesyncd
-systemctl disable systemd-timedated
-systemctl stop systemd-timesyncd
-systemctl stop systemd-timedated
-ntpdate -b de.pool.ntp.org
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0
diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/profitbricks-build3-amd64/etc/rc.local
+++ b/hosts/profitbricks-build3-amd64/etc/rc.local
@@ -13,15 +13,4 @@
echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-# disable running in the future for now
-exit 0
-
-systemctl disable systemd-timesyncd
-systemctl disable systemd-timedated
-systemctl stop systemd-timesyncd
-systemctl stop systemd-timedated
-ntpdate -b de.pool.ntp.org
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0
diff --git a/hosts/profitbricks-build5-amd64/etc/rc.local b/hosts/profitbricks-build5-amd64/etc/rc.local
index d3b00d7c..ae0a771a 100755
--- a/hosts/profitbricks-build5-amd64/etc/rc.local
+++ b/hosts/profitbricks-build5-amd64/etc/rc.local
@@ -18,7 +18,7 @@ systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-date --set="+398 days"
+date --set="+398 days +6 hours + 23 minutes"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
exit 0
diff --git a/hosts/profitbricks-build6-amd64/etc/rc.local b/hosts/profitbricks-build6-amd64/etc/rc.local
index d3b00d7c..ae0a771a 100755
--- a/hosts/profitbricks-build6-amd64/etc/rc.local
+++ b/hosts/profitbricks-build6-amd64/etc/rc.local
@@ -18,7 +18,7 @@ systemctl disable systemd-timedated
systemctl stop systemd-timesyncd
systemctl stop systemd-timedated
ntpdate -b de.pool.ntp.org
-date --set="+398 days"
+date --set="+398 days +6 hours + 23 minutes"
echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
exit 0
diff --git a/hosts/wbq0-armhf-rb/etc/rc.local b/hosts/wbq0-armhf-rb/etc/rc.local
index e8721439..9493d09d 100755
--- a/hosts/wbq0-armhf-rb/etc/rc.local
+++ b/hosts/wbq0-armhf-rb/etc/rc.local
@@ -13,15 +13,4 @@
echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-# disable running in the future for now
-exit 0
-
-systemctl disable systemd-timesyncd
-systemctl disable systemd-timedated
-systemctl stop systemd-timesyncd
-systemctl stop systemd-timedated
-ntpdate -b de.pool.ntp.org
-date --set="+398 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
-
exit 0