Novell LINUX ENTERPRISE SERVER 11 - ADMINISTRATION Administration Manual page 83

Hide thumbs Also See for LINUX ENTERPRISE SERVER 11 - ADMINISTRATION:
Table of Contents

Advertisement

Scripts Executed Indirectly by init
These are run when changing the runlevel and always call the master script
/etc/init.d/rc, which guarantees the correct order of the relevant scripts.
All scripts are located in /etc/init.d. Scripts that are run at boot time are called
through symbolic links from /etc/init.d/boot.d. Scripts for changing the run-
level are called through symbolic links from one of the subdirectories (/etc/init
.d/rc0.d to /etc/init.d/rc6.d). This is just for reasons of clarity and avoids
duplicate scripts if they are used in several runlevels. Because every script can be exe-
cuted as both a start and a stop script, these scripts must understand the parameters
start and stop. The scripts also understand the restart, reload,
force-reload, and status options. These different options are explained in
ble 7.2, "Possible init Script Options"
not have these links. They are run independently from the runlevel when needed.
Table 7.2
Possible init Script Options
Option
start
stop
restart
reload
force-reload
status
Links in each runlevel-specific subdirectory make it possible to associate scripts with
different runlevels. When installing or uninstalling packages, these links are added and
removed with the help of the program insserv (or using /usr/lib/lsb/install
_initd, which is a script calling this program). See the insserv(8) man page for details.
(page 69). Scripts that are run directly by init do
Description
Start service.
Stop service.
If the service is running, stop it then restart it. If it is
not running, start it.
Reload the configuration without stopping and restarting
the service.
Reload the configuration if the service supports this.
Otherwise, do the same as if restart had been given.
Show the current status of service.
Booting and Configuring a Linux System
Ta-
69

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 11

Table of Contents