Go to file
Jesse Smith 6e8323e9fb The init process now writes the current runlevel to /var/run/runlevel.
This information can be read by the "runlevel" command as well as "halt"
and "reboot". Having the information logged in /var/run/runlevel as
well as the utmp file means systems without utmp (like those running
the musl C library) can still check the current runlevel. This is
useful when running halt/reboot as these programs want to check the
runlevel.

Updated the changelog, and manual pages for halt and runlevel.
2018-07-07 20:19:03 -03:00
contrib Removed old LSM file. 2018-05-04 22:08:38 -03:00
doc The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
man The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
src The init process now writes the current runlevel to /var/run/runlevel. 2018-07-07 20:19:03 -03:00
.gitignore Removed old LSM file. 2018-05-04 22:08:38 -03:00
COPYING Drop hurd specific dependency on libc0.3 (>= 2.3.2.ds1-12). It is 2009-09-10 08:28:49 +00:00
COPYRIGHT Removed old LSM file. 2018-05-04 22:08:38 -03:00
Makefile Version information is now fetched and defined by the Makefile. 2018-07-01 18:44:57 -03:00
README Removed old LSM file. 2018-05-04 22:08:38 -03:00

README for SysV init
====================

SysV init is a classic initilization program (PID 1) for GNU/Linux and
other UNIX/POSIX systems. It is designed to be small, simple and to
stay out of the way.

Init is the parent (or grandparent) of all other processes on the
system. It kicks off the starting of other system services and
can act as a parent process to services which no longer have an
active parent process.

SysV init uses the concept of runlevels. A runlevel is a configuration of the 
system which allows only a selected group of processes to exist. 
The processes spawned by init for each of these runlevels are defined in the 
/etc/inittab file. Init can be in one of eight runlevels. The runlevel is
changed by the administrator running the telinit command which selects
which runlevel we want to use.
       
More information on init, runlevels and switching between them can be found
in the init manual page. (See "man init".)

contrib		Unofficial stuff, add-on programs
doc		Documentation
man		Manual pages
src		Source code

For instructions on building and installing SysV init, please
see the "doc/Install" file.

The project home is on https://savannah.nongnu.org/projects/sysvinit 

Send patches to sysvinit-devel@nongnu.org .