summaryrefslogtreecommitdiffstats
path: root/hosts/rpi2c-armhf-rb/etc/rc.local
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-01-01 18:56:08 +0100
committerHolger Levsen <holger@layer-acht.org>2016-01-01 18:56:08 +0100
commit45d8cf8b209f370064c95149940e9adda3cf0cb1 (patch)
treeba9ce0a91d28baa921f2aee6c2454027ce111a4d /hosts/rpi2c-armhf-rb/etc/rc.local
parent12156bb8436b3a86fbc3b16f335a768b767188cc (diff)
downloadjenkins.debian.net-45d8cf8b209f370064c95149940e9adda3cf0cb1.tar.xz
reproducible armhf: actually add config files for the new host
Diffstat (limited to 'hosts/rpi2c-armhf-rb/etc/rc.local')
-rwxr-xr-xhosts/rpi2c-armhf-rb/etc/rc.local16
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/rpi2c-armhf-rb/etc/rc.local b/hosts/rpi2c-armhf-rb/etc/rc.local
new file mode 100755
index 00000000..1c4ece10
--- /dev/null
+++ b/hosts/rpi2c-armhf-rb/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 -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
+
+exit 0