Go to file
Jesse Smith f0e93128bc When the halt command is called with the -p flag (or as poweroff)
the command now passes the "-h -P" flags to shutdown. This
in turn sets the INIT_HALT environment variable to POWEROFF.
Assuming this value is checked by initscripts during the
shutting down procedure, it should cause the system to
be powered off.
If halt is called without -p then the value of INIT_HALT
is not set and the default action (often set in /etc/defaut/halt)
is taken.
2018-11-23 22:11:42 -04:00
contrib Removed old LSM file. 2018-05-04 22:08:38 -03:00
doc When the halt command is called with the -p flag (or as poweroff) 2018-11-23 22:11:42 -04:00
man Updated shutdown manual page to try to clarify which components 2018-11-15 13:28:35 -04:00
src When the halt command is called with the -p flag (or as poweroff) 2018-11-23 22:11:42 -04: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 Updated changelog with information on pidof's new -q flag. 2018-09-08 23:29:02 -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 .