blob: 1eac90492f464b0df49d0e1677f531f6ab3f17bc (
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 "jenkins.d.n rebooted" root
exit 0
|