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/profitbricks-build2-amd64/etc | |
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/profitbricks-build2-amd64/etc')
-rwxr-xr-x | hosts/profitbricks-build2-amd64/etc/rc.local | 4 |
1 files changed, 2 insertions, 2 deletions
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 |