BSD 2.11 - man page for rc (bsd section 8)

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


RC(8)											    RC(8)

NAME
       rc - command script for auto-reboot and daemons

SYNOPSIS
       /etc/rc
       /etc/rc.local

DESCRIPTION
       Rc  is  the  command script which controls the automatic reboot and rc.local is the script
       holding commands which are pertinent only to a specific site.

       When an automatic reboot is in progress, rc is invoked with the argument autoboot and runs
       a  fsck	with option -p to ``preen'' all the disks of minor inconsistencies resulting from
       the last system shutdown and to check for serious inconsistencies caused  by  hardware  or
       software  failure.   If this auto-check and repair succeeds, then the second part of rc is
       run.

       The second part of rc, which is run after a auto-reboot succeeds and also if rc is invoked
       when  a	single user shell terminates (see init(8)), starts all the daemons on the system,
       preserves editor files and clears the scratch directory /tmp.  Rc.local is executed  imme-
       diately	before	any other commands after a successful fsck.  Normally, the first commands
       placed in the rc.local file define the machine's name, using  hostname(1),  and	save  any
       possible  core  image  that  might  have  been  generated  as  a result of a system crash,
       savecore(8).  The latter command is included in the rc.local file because the directory in
       which core dumps are saved is usually site specific.

SEE ALSO
       init(8), reboot(8), savecore(8)

BUGS
4th Berkeley Distribution		  April 27, 1985				    RC(8)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 10:54 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?