You can also specify the time on the shutdown command line, in place of 'now':
Code:
NAME
shutdown - bring the system down
SYNOPSIS
shutdown [OPTION]... TIME [MESSAGE]
DESCRIPTION
shutdown arranges for the system to be brought down in a safe way. All logged-in users are notified that the system is going
down and, within the last five minutes of TIME, new logins are prevented.
TIME may have different formats, the most common is simply the word 'now' which will bring the system down immediately. Other
valid formats are +m, where m is the number of minutes to wait until shutting down and hh:mm which specifies the time on the
24hr clock.
_________________
Code:
/* TODO: need to add signature to posts */