cpurc 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. .TH CPURC 8
  2. .SH NAME
  3. cpurc, termrc \- boot script
  4. .SH SYNOPSIS
  5. .B cpurc
  6. .PP
  7. .B termrc
  8. .SH DESCRIPTION
  9. After the kernel boots, it execs
  10. .B /boot
  11. (see
  12. .IR root (3)),
  13. which in turn execs
  14. .BR /$cputype/init .
  15. .IR Init (8)
  16. sets the
  17. .B $service
  18. environment variable to
  19. .B cpu
  20. or
  21. .BR terminal ,
  22. and then invokes the appropriate
  23. .B rc
  24. script to bring the system up.
  25. .PP
  26. Based on the values of
  27. .B $sysname
  28. and
  29. .B $terminal
  30. these scripts start appropriate network processes and
  31. administrative daemons and enable swapping.
  32. .I Cpurc
  33. sets
  34. .B /env/boottime
  35. to the time
  36. .I cpurc
  37. was executed and
  38. .B /env/NPROC
  39. to a value suitable for parallel compilation in
  40. .IR mk (1).
  41. .PP
  42. These files should be edited by local installations
  43. to reflect the configuration of their systems.
  44. If an executable file
  45. .B /sys/lib/sysconfig/termrc/$sysname
  46. exists for the machine named
  47. .BR $sysname ,
  48. .I termrc
  49. will execute it as its last act.
  50. This action is suppressed, as is automatic initialization of the mouse and
  51. VGA on a PC, if the user is
  52. .BR none .
  53. .SH FILES
  54. .TF /sys/lib/sysconfig/termrc
  55. .TP
  56. .B /sys/lib/sysconfig/termrc
  57. machine-specific configuration scripts for
  58. .IR termrc .
  59. .SH SOURCE
  60. .B /rc/bin/cpurc
  61. .br
  62. .B /rc/bin/termrc
  63. .SH "SEE ALSO"
  64. .IR srv (4),
  65. .IR namespace (6),
  66. .IR init (8),
  67. .IR listen (8)