reboot, halt, poweroff
reboot or stop the system
- Provided by: upstart-sysv (Version: 1.13.2-0ubuntu21.1)
- Source: upstart
- Report a bug
reboot or stop the system
reboot [OPTION]... [REBOOTCOMMAND]
halt [OPTION]...
poweroff [OPTION]...
These programs allow a system administrator to reboot, halt or poweroff the system.
When called with --force or when in runlevel 0 or 6, this tool invokes the reboot(2) system call itself (with REBOOTCOMMAND argument passed) and directly reboots the system. Otherwise this simply invokes the shutdown(8) tool with the appropriate arguments without passing REBOOTCOMMAND argument.
Before invoking reboot(2), a shutdown time record is first written to /var/log/wtmp
Written by Scott James Remnant <scott@netsplit.com>
Report bugs at <https://launchpad.net/upstart/+bugs>
Copyright © 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.