home *** CD-ROM | disk | FTP | other *** search
-
- Beginning with the SCO XENIX 2.3.0 386AT release, /etc/rc is a shell script
- which searches a series of directories under the directory /etc/rc.d.
- The names of these directories are the numerals 0-9. These directories are
- searched in numerical order and any scripts present will be executed.
- All scripts in a given directory will be executed before moving on to the
- next directory. Each script invoked will have the same environment currently
- inherited by processes invoked from /etc/rc.
-
- The classifications of the directories are as follows:
- # Name Examples
- 0--System init - time, mnttab, utmp, autoboot
- 1--System daemons - logger, update, cron
- 2--Mount filesystems - mount /u
- 3--Crash recovery - wpsave, expreserve
- 4--Clean - rm /tmp/*, lockfiles
- 5--Hardware download - mtsld, stdld
- 6--Kernel software init - net start, mapkey, accounting
- 7--User daemons - lpsched, srvdaemon, netutil start
- 8--User definable
- 9--System reserved - bootlog
-
- The mechanism for further subdivision of the rc.d directory is defined as
- follows: If it becomes necessary in the future to insert actions between any
- two levels, new directories will be named by appending a decimal point and
- one or more trailing digits, for example, 1.1 will be guaranteed to be searched
- after 1 and before 2.
-
-