summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-10-27 18:01:03 +0000
committerRoy Marples <roy@marples.name>2008-10-27 18:01:03 +0000
commit0d98d56188527109da1e334b19b4cc2e92499246 (patch)
treee327abad42788fb4b1531c8841c46b56c9c8b99a /man
parentae692e294e3b1679c1eb0f7aedddc6fe943963da (diff)
downloadopenrc-0d98d56188527109da1e334b19b4cc2e92499246.tar.gz
openrc-0d98d56188527109da1e334b19b4cc2e92499246.tar.bz2
openrc-0d98d56188527109da1e334b19b4cc2e92499246.tar.xz
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.
Diffstat (limited to 'man')
-rw-r--r--man/rc.821
1 files changed, 15 insertions, 6 deletions
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 <roy@marples.name>