From 0d98d56188527109da1e334b19b4cc2e92499246 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 27 Oct 2008 18:01:03 +0000 Subject: Remove sysvinit specific code. The runlevels shutdown, reboot, sysinit and single should be called by init(8) and shutdown(8) and not manually. sysvinit users will have to add sulogin to their inittab to secure the console. --- man/rc.8 | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) (limited to 'man/rc.8') diff --git a/man/rc.8 b/man/rc.8 index c85bd2b..e0e3198 100644 --- a/man/rc.8 +++ b/man/rc.8 @@ -22,7 +22,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd Feb 22, 2008 +.Dd October 27, 2008 .Dt RC 8 SMM .Os OpenRC .Sh NAME @@ -60,18 +60,27 @@ sysinit always runs when the host first starts should not be run again. Generally the only services you should add to the boot runlevel are those which deal with the mounting of filesystems, set the initial state of attached peripherals and logging. -Coldplugged services are added to the boot runlevel by the system. -All services in the boot runlevel are automatically included in all other -runlevels except for those listed here. +Hotplugged services are added to the boot runlevel by the system. +All services in the boot and sysinit runlevels are automatically included +in all other runlevels except for those listed here. .It Ar single -Stops all services and enters single user mode. +Stops all services except for those in the sysinit runlevel. .It Ar reboot Changes to the single runlevel and then reboots the host. .It Ar shutdown Changes to the single runlevel and then halts the host. .El +.Pp +You should not call any of these runlevels yourself. +Instead you should use +.Xr init 8 +and +.Xr shutdown 8 +and let them call these special runlevels. .Sh SEE ALSO .Xr rc-status 8 , -.Xr rc-update 8 +.Xr rc-update 8 , +.Xr init 8 , +.Xr shutdown 8 .Sh AUTHORS .An Roy Marples -- cgit v1.2.3