summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build6-amd64
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-21 11:09:50 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-21 11:15:48 +0100
commit27ab8b8e5c9d6cec8cb4ea3f7159837753cc207c (patch)
tree97fe7c56a82ab0201f8a7f288bc5861f0c655b67 /hosts/profitbricks-build6-amd64
parent0bc5b6953731532fa3b03b60135fed80cdd3fc52 (diff)
downloadjenkins.debian.net-27ab8b8e5c9d6cec8cb4ea3f7159837753cc207c.tar.xz
use 'date -u' always
Diffstat (limited to 'hosts/profitbricks-build6-amd64')
-rwxr-xr-xhosts/profitbricks-build6-amd64/etc/rc.local4
1 files changed, 2 insertions, 2 deletions
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