summaryrefslogtreecommitdiffstats
path: root/etc/rc.local
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-08 22:11:56 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-08 22:11:56 +0200
commit06fe3577f0751f6ef7a8ebf38a17b5f9404f53de (patch)
tree1628b232cb550fcf55b20b1a23851483b7668b7e /etc/rc.local
parent7e0d0c1258190c9b2f3a852d7a8f3054e7175df0 (diff)
downloadjenkins.debian.net-06fe3577f0751f6ef7a8ebf38a17b5f9404f53de.tar.xz
add /etc/rc.local to git
Diffstat (limited to 'etc/rc.local')
-rwxr-xr-xetc/rc.local16
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/rc.local b/etc/rc.local
new file mode 100755
index 00000000..1eac9049
--- /dev/null
+++ b/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