summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/rc.local
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-27 14:31:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-27 14:31:57 +0200
commit315ead533e3d4e67ce3908a13ebe5b75ef9060c4 (patch)
treeb13a53cbace131ef2afedbd7697f724f9e674c0d /hosts/jenkins/etc/rc.local
parent16a5099a82e9c12322e7bea561a5f43448b013d4 (diff)
downloadjenkins.debian.net-315ead533e3d4e67ce3908a13ebe5b75ef9060c4.tar.xz
move etc to hosts/jenkins/etc
Diffstat (limited to 'hosts/jenkins/etc/rc.local')
-rwxr-xr-xhosts/jenkins/etc/rc.local16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/rc.local b/hosts/jenkins/etc/rc.local
new file mode 100755
index 00000000..1eac9049
--- /dev/null
+++ b/hosts/jenkins/etc/rc.local
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+#
+# rc.local
+#
+# This script is executed at the end of each multiuser runlevel.
+# Make sure that the script will "exit 0" on success or any other
+# value on error.
+#
+# In order to enable or disable this script just change the execution
+# bits.
+#
+# By default this script does nothing.
+
+echo "$(date) - system was rebooted" | mail -s "jenkins.d.n rebooted" root
+
+exit 0