From 27ab8b8e5c9d6cec8cb4ea3f7159837753cc207c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 21 Dec 2015 11:09:50 +0100 Subject: use 'date -u' always --- hosts/bpi0-armhf-rb/etc/rc.local | 2 +- hosts/cbxi4pro0-armhf-rb/etc/rc.local | 2 +- hosts/hb0-armhf-rb/etc/rc.local | 2 +- hosts/jenkins-test-vm/etc/rc.local | 2 +- hosts/jenkins/etc/rc.local | 2 +- hosts/odxu4-armhf-rb/etc/rc.local | 2 +- hosts/profitbricks-build1-amd64/etc/rc.local | 2 +- hosts/profitbricks-build2-amd64/etc/rc.local | 2 +- hosts/profitbricks-build3-amd64/etc/rc.local | 2 +- hosts/profitbricks-build4-amd64/etc/rc.local | 2 +- hosts/profitbricks-build5-amd64/etc/rc.local | 4 ++-- hosts/profitbricks-build6-amd64/etc/rc.local | 4 ++-- hosts/rpi2b-armhf-rb/etc/rc.local | 2 +- hosts/wbd0-armhf-rb/etc/rc.local | 2 +- hosts/wbq0-armhf-rb/etc/rc.local | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) (limited to 'hosts') diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/bpi0-armhf-rb/etc/rc.local +++ b/hosts/bpi0-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/cbxi4pro0-armhf-rb/etc/rc.local b/hosts/cbxi4pro0-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/cbxi4pro0-armhf-rb/etc/rc.local +++ b/hosts/cbxi4pro0-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/hb0-armhf-rb/etc/rc.local +++ b/hosts/hb0-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/jenkins-test-vm/etc/rc.local b/hosts/jenkins-test-vm/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/jenkins-test-vm/etc/rc.local +++ b/hosts/jenkins-test-vm/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/jenkins/etc/rc.local +++ b/hosts/jenkins/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/odxu4-armhf-rb/etc/rc.local b/hosts/odxu4-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/odxu4-armhf-rb/etc/rc.local +++ b/hosts/odxu4-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/profitbricks-build1-amd64/etc/rc.local b/hosts/profitbricks-build1-amd64/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/profitbricks-build1-amd64/etc/rc.local +++ b/hosts/profitbricks-build1-amd64/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/profitbricks-build2-amd64/etc/rc.local b/hosts/profitbricks-build2-amd64/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/profitbricks-build2-amd64/etc/rc.local +++ b/hosts/profitbricks-build2-amd64/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/profitbricks-build3-amd64/etc/rc.local b/hosts/profitbricks-build3-amd64/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/profitbricks-build3-amd64/etc/rc.local +++ b/hosts/profitbricks-build3-amd64/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/profitbricks-build4-amd64/etc/rc.local b/hosts/profitbricks-build4-amd64/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/profitbricks-build4-amd64/etc/rc.local +++ b/hosts/profitbricks-build4-amd64/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/profitbricks-build5-amd64/etc/rc.local b/hosts/profitbricks-build5-amd64/etc/rc.local index f1e902d2..59131fcb 100755 --- a/hosts/profitbricks-build5-amd64/etc/rc.local +++ b/hosts/profitbricks-build5-amd64/etc/rc.local @@ -11,7 +11,7 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root # disable systemd date services (and don't fail if systemd ain't running) systemctl disable systemd-timesyncd @@ -26,6 +26,6 @@ date --set="+398 days +6 hours + 23 minutes" # packages from security.d.o will appear outdated always… ln -sf /bin/true /usr/local/bin/dsa-check-packages # finally report success -echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root +echo "$(date -u) - 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 f1e902d2..59131fcb 100755 --- a/hosts/profitbricks-build6-amd64/etc/rc.local +++ b/hosts/profitbricks-build6-amd64/etc/rc.local @@ -11,7 +11,7 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root # disable systemd date services (and don't fail if systemd ain't running) systemctl disable systemd-timesyncd @@ -26,6 +26,6 @@ date --set="+398 days +6 hours + 23 minutes" # packages from security.d.o will appear outdated always… ln -sf /bin/true /usr/local/bin/dsa-check-packages # finally report success -echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root +echo "$(date -u) - system is running in the future now" | mail -s "$(hostname -f) in the future" root exit 0 diff --git a/hosts/rpi2b-armhf-rb/etc/rc.local b/hosts/rpi2b-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/rpi2b-armhf-rb/etc/rc.local +++ b/hosts/rpi2b-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/wbd0-armhf-rb/etc/rc.local b/hosts/wbd0-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/wbd0-armhf-rb/etc/rc.local +++ b/hosts/wbd0-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 diff --git a/hosts/wbq0-armhf-rb/etc/rc.local b/hosts/wbq0-armhf-rb/etc/rc.local index 9493d09d..1c4ece10 100755 --- a/hosts/wbq0-armhf-rb/etc/rc.local +++ b/hosts/wbq0-armhf-rb/etc/rc.local @@ -11,6 +11,6 @@ # # By default this script does nothing. -echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root +echo "$(date -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root exit 0 -- cgit v1.2.3-70-g09d2