HALT(8)

NAME
halt, reboot - halt or reboot the system

SYNOPSIS
/sbin/halt [ -n ] [ -q ] [ -y ]
/sbin/reboot [ -n ] [ -q ] [ -s ] [ -RISCOS ] [ -y ]

DESCRIPTION
Halt writes out cached information to the disks and then stops execution of RISC i X, with control passing to the RISC OS operating system. If the RISCiXFS module had been configured to automatically invoke RISC i X whenever the workstation is booted, then it is inappropriate for control to be passed to RISC OS, in which case the processor just loops.

The -RISCOS option to reboot will allow control to be passed to RISC OS regardless of whether RISCiXFS has been configured to automatically boot RISC i X.

Reboot writes out cached information and then reboots RISC OS. When the RISCiXFS module is started (usually from the RISC OS !Boot file) RISC i X is automatically rebooted.

The net effect is that reboot causes RISC i X to reboot in multi-user mode, see init(8), after a short delay. The -s option causes the reboot to be in single-user mode. This option is ineffective if the secure boot version of RISCiXFS is installed in RISC OS or if the machine is configured to automatically boot unix. In the first case RISC i X will always reboot in secure mode, requiring the entry of the super-user password to get into single-user mode. In the second RISC i X will always reboot in multi-user mode.

The -n option prevents the sync before stopping. The -q option causes a quick halt, no graceful shutdown is attempted. The -y option is needed if you are trying to halt the system from a dialup.

Halt and reboot normally log the shutdown using syslog(8) and places a shutdown record in the login accounting file /var/adm/wtmp.

These programs are in fact links to the same file, thus all the options available to reboot can be used with halt, although the results are not normally useful. This file is supplied without the set-uid bit set, thus only the super user can shut down the system. If the system administrator so wishes, he (or she) can set the set-uid bit so that all users (or all members of a particluar group) are able to shut down the system.

SEE ALSO
shutdown(8), syslog(8), fastboot(8)