diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-07 01:49:29 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-07 01:49:29 +0200 |
commit | 9d5c00e860ef042592cc81ac78c570d186cfea91 (patch) | |
tree | 64546204169f9a2b12660f680a9655b40a648e84 /hosts | |
parent | 098a7d6efbf465ee8971a920cb373a8e41dc6f58 (diff) | |
download | jenkins.debian.net-9d5c00e860ef042592cc81ac78c570d186cfea91.tar.xz |
reproducible: it seems to be easier to run 400 days in the past...
Diffstat (limited to 'hosts')
-rwxr-xr-x | hosts/bpi0-armhf-rb/etc/rc.local | 4 | ||||
-rwxr-xr-x | hosts/hb0-armhf-rb/etc/rc.local | 4 | ||||
-rwxr-xr-x | hosts/profitbricks-build2-amd64/etc/rc.local | 4 |
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 |