Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (9 sloc) 0.203 kb
SERVER_NAME=`hostname`
SEND_TO="root"
echo "
Server ${SERVER_NAME} has rebooted.
Date: `date`
Uptime: `uptime`
Active Users:
`who`
" | mail -s "Alert: Server ${SERVER_NAME} has rebooted" $SEND_TO
Jump to Line
Something went wrong with that request. Please try again.