linux boot and login / logout profile

Boot and login / logout

/etc/issue & /etc/issue.net

These files are read by mingetty (and similar programs), to display a "welcome" to the character string from the user terminal (Issue) or connected through a telnet session (issue.net). They include a few lines of information declaration Red Hat version number, the name and ID of the kernel. They are used by rc.local.

/etc/redhat-release

Including information line declaration Red Hat version number and name. Used by the rc.local.

/etc/rc.d/rc

Usually run at all operational levels, level as a parameter. For example, to pattern (Graphics) mode (X-Server) to guide machine, run the following command at the command line: init 5. 5 represents run level graphics mode guidance system.

/etc/rc.d/rc.local

informal. Can / inittab called from rc, rc.sysinit or / etc.

/etc/rc.d/rc.sysinit

It is usually the first script run for all levels.

/etc/rc.d/rc/rcX.d

Rc from the script to run ( X- denotes any number from 1 to 5). These directories are particular "run level" directory. When the system starts, it will identify the level you want to start running and then call all the specific directory startup scripts run level of existence. For example, when the system starts normally "entering run-level 3" message will be displayed after the boot messages; this means that all /etc/rc.d/rc3.d/ initialization scripts directory will be called.

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11109357.html