diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-11-11 00:33:42 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-11-11 00:33:42 +0100 |
commit | 3778770ff1fbca985fb47541ad7ce20de96c268a (patch) | |
tree | 6368e1d9bb46d2d170516604f7319dc03ecdae4c /hosts/wbq0-armhf-rb/etc/rc.local | |
parent | 6e4d8650a66fa5f7e20dcbf3f50bb2cd57ba8d0d (diff) | |
download | jenkins.debian.net-3778770ff1fbca985fb47541ad7ce20de96c268a.tar.xz |
reproducible: add sixth armhf build node, thanks again to vagrant
Diffstat (limited to 'hosts/wbq0-armhf-rb/etc/rc.local')
-rwxr-xr-x | hosts/wbq0-armhf-rb/etc/rc.local | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/wbq0-armhf-rb/etc/rc.local b/hosts/wbq0-armhf-rb/etc/rc.local index 9493d09d..b069e6ba 100755 --- a/hosts/wbq0-armhf-rb/etc/rc.local +++ b/hosts/wbq0-armhf-rb/etc/rc.local @@ -13,4 +13,15 @@ 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="+400 days" +echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root + exit 0 |