summaryrefslogtreecommitdiffstats
path: root/hosts
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-07 01:29:07 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-07 01:29:07 +0200
commit687321112c084d720acfeb2f6b3e1f895efb8f2c (patch)
treef1bbcb70f0134ef501e9d3c8ae7c0c42b5a59f52 /hosts
parentbf408d4a6ed8d5eb2ffcf1bd8d057963c7645546 (diff)
downloadjenkins.debian.net-687321112c084d720acfeb2f6b3e1f895efb8f2c.tar.xz
use hostname -f to determine own hostname
Diffstat (limited to 'hosts')
-rwxr-xr-xhosts/jenkins/etc/rc.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local
index 1eac9049..9493d09d 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 "jenkins.d.n rebooted" root
+echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
exit 0