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/profitbricks-build6-amd64/etc/rc.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hosts/profitbricks-build6-amd64/etc/rc.local') 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 -- cgit v1.2.3-70-g09d2