summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm/etc/rc.local
blob: 9493d09d0048a814b53e613a1964d268a0db80e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 "$(hostname -f) rebooted" root

exit 0