home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 204.img / SC386BN1.TD0 / etc / rc.d / README
Encoding:
Text File  |  1988-05-20  |  1.3 KB  |  29 lines

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