summaryrefslogtreecommitdiffstats
path: root/hosts/codethink-sled9-arm64/etc/rc.local
blob: 1c4ece10fc42f5f2c13fb2996d3d4e6e7f353a2c (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 -u) - system was rebooted" | mail -s "$(hostname -f) rebooted" root

exit 0