.I cmd
argument can have the following values:
.TP
-.B LINUX_REBOOT_CMD_RESTART
-(RB_AUTOBOOT, 0x1234567).
-The message "Restarting system." is printed, and a default
-restart is performed immediately.
-If not preceded by a
-.BR sync (2),
-data will be lost.
+.B LINUX_REBOOT_CMD_CAD_OFF
+(RB_DISABLE_CAD, 0).
+CAD is disabled.
+This means that the CAD keystroke will cause a
+.B SIGINT
+signal to be
+sent to init (process 1), whereupon this process may decide upon a
+proper action (maybe: kill all processes, sync, reboot).
+.TP
+.B LINUX_REBOOT_CMD_CAD_ON
+(RB_ENABLE_CAD, 0x89abcdef).
+CAD is enabled.
+This means that the CAD keystroke will immediately cause
+the action associated with
+.BR LINUX_REBOOT_CMD_RESTART .
.TP
.B LINUX_REBOOT_CMD_HALT
(RB_HALT_SYSTEM, 0xcdef0123; since 1.1.76).
.BR sync (2),
data will be lost.
.TP
+.BR LINUX_REBOOT_CMD_KEXEC " (since Linux 2.6.13)"
+Execute a kernel that has been loaded earlier with
+.BR kexec_load (2).
+This option is only available if the kernel was configured with
+.BR CONFIG_KEXEC .
+.TP
.B LINUX_REBOOT_CMD_POWER_OFF
(0x4321fedc; since 2.1.30).
The message "Power down." is printed, the system is stopped,
.BR sync (2),
data will be lost.
.TP
+.B LINUX_REBOOT_CMD_RESTART
+(RB_AUTOBOOT, 0x1234567).
+The message "Restarting system." is printed, and a default
+restart is performed immediately.
+If not preceded by a
+.BR sync (2),
+data will be lost.
+.TP
.B LINUX_REBOOT_CMD_RESTART2
(0xa1b2c3d4; since 2.1.30).
The message "Restarting system with command \(aq%s\(aq" is printed,
If not preceded by a
.BR sync (2),
data will be lost.
-.TP
-.B LINUX_REBOOT_CMD_CAD_ON
-(RB_ENABLE_CAD, 0x89abcdef).
-CAD is enabled.
-This means that the CAD keystroke will immediately cause
-the action associated with
-.BR LINUX_REBOOT_CMD_RESTART .
-.TP
-.B LINUX_REBOOT_CMD_CAD_OFF
-(RB_DISABLE_CAD, 0).
-CAD is disabled.
-This means that the CAD keystroke will cause a
-.B SIGINT
-signal to be
-sent to init (process 1), whereupon this process may decide upon a
-proper action (maybe: kill all processes, sync, reboot).
.LP
Only the superuser may call
.BR reboot ().
anything at present (2.1.122), but the type of reboot can be
determined by kernel command-line arguments ("reboot=...") to be
either warm or cold, and either hard or through the BIOS.
-.TP
-.BR LINUX_REBOOT_CMD_KEXEC " (since Linux 2.6.13)"
-Execute a kernel that has been loaded earlier with
-.BR kexec_load (2).
-This option is only available if the kernel was configured with
-.BR CONFIG_KEXEC .
.SH "RETURN VALUE"
For the values of
.I cmd