CPURC(8)                                                 CPURC(8)

     NAME
          cpurc, cpurc.local, termrc, termrc.local - boot scripts

     SYNOPSIS
          cpurc
          cpurc.local

          termrc
          termrc.local

     DESCRIPTION
          After the kernel boots, it execs /boot (see root(3)), which
          in turn execs /$cputype/init.  Init(8) sets the $service
          environment variable to cpu or terminal, and then invokes
          the appropriate rc script to bring the system up.

          Based on the values of $sysname and $terminal these scripts
          start appropriate network processes and administrative dae-
          mons and enable swapping.  Cpurc sets /env/boottime to the
          time cpurc was executed and /env/NPROC to a value suitable
          for parallel compilation in mk(1).

          If an executable file /bin/termrc.local exists, termrc will
          execute it.  If an executable file /cfg/$sysname/termrc
          exists for the machine named $sysname, termrc will execute
          it next.  Automatic initialization of the mouse and VGA on a
          PC is suppressed, if the user is none.  These files should
          be edited by local installations to reflect the configura-
          tion of their systems.

          On CPU servers, read `cpurc' for `termrc' in the previous
          paragraph.

     FILES
          /cfg/$sysname/cpurc   machine-specific boot script for cpurc
          /cfg/$sysname/termrc  machine-specific boot script for
                                termrc

     SOURCE
          /rc/bin/*rc
          /rc/bin/*rc.local
          /cfg/$sysname/*rc

     SEE ALSO
          srv(4), namespace(6), init(8), listen(8)

     Page 1                       Plan 9            (printed 11/18/24)