From 7490f3aa22fc8987c7a7cbff75a4c888b50e1495 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 2 Oct 2015 11:20:35 +0200 Subject: reproducible: better explain maintainer notifications --- hosts/bpi0-armhf-rb/etc/rc.local | 6 +++--- hosts/hb0-armhf-rb/etc/rc.local | 6 +++--- hosts/profitbricks-build2-amd64/etc/rc.local | 4 ++-- hosts/profitbricks-build3-amd64/etc/rc.local | 14 +++++++------- 4 files changed, 15 insertions(+), 15 deletions(-) (limited to 'hosts') diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local index f11b6b56..7940adf5 100755 --- a/hosts/bpi0-armhf-rb/etc/rc.local +++ b/hosts/bpi0-armhf-rb/etc/rc.local @@ -15,9 +15,9 @@ systemctl disable systemd-timesyncd systemctl disable systemd-timedated systemctl stop systemd-timesyncd systemctl stop systemd-timedated -ntpdate -b us.pool.ntp.org +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 past now" | mail -s "$(hostname -f) in the past" root +date --set="+400 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 f11b6b56..7940adf5 100755 --- a/hosts/hb0-armhf-rb/etc/rc.local +++ b/hosts/hb0-armhf-rb/etc/rc.local @@ -15,9 +15,9 @@ systemctl disable systemd-timesyncd systemctl disable systemd-timedated systemctl stop systemd-timesyncd systemctl stop systemd-timedated -ntpdate -b us.pool.ntp.org +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 past now" | mail -s "$(hostname -f) in the past" root +date --set="+400 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-build2-amd64/etc/rc.local b/hosts/profitbricks-build2-amd64/etc/rc.local index 9f9cb358..7940adf5 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 past now" | mail -s "$(hostname -f) in the past" root +date --set="+400 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 7f050668..7940adf5 100755 --- a/hosts/profitbricks-build3-amd64/etc/rc.local +++ b/hosts/profitbricks-build3-amd64/etc/rc.local @@ -11,13 +11,13 @@ # # By default this script does nothing. -#systemctl disable systemd-timesyncd -#systemctl disable systemd-timedated -#systemctl stop systemd-timesyncd -#systemctl stop systemd-timedated -#ntpdate -b de.pool.ntp.org +systemctl disable systemd-timesyncd +systemctl disable systemd-timedated +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 past now" | mail -s "$(hostname -f) in the past" root +date --set="+400 days" +echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root exit 0 -- cgit v1.2.3-54-g00ecf