bootscripts-desc.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <sect2><title>Contents of LFS-bootscripts</title>
  2. <para>Last checked against version &bootscripts-contversion;.</para>
  3. <sect3><title>Scripts</title>
  4. <para>checkfs, cleanfs, functions, halt, ifdown, ifup, loadkeys, localnet,
  5. mountfs, mountproc, network, rc, reboot, sendsignals, setclock, swap,
  6. sysklogd and template</para></sect3>
  7. <sect3><title>Descriptions</title>
  8. <sect4><title>checkfs</title>
  9. <para>The checkfs script checks the file systems just before they are
  10. mounted (with the exception of journal and network based file
  11. systems).</para></sect4>
  12. <sect4><title>cleanfs</title>
  13. <para>The cleanfs script removes files that shouldn't be preserved between
  14. reboots, such as /var/run/*, /var/lock/*, it re-creates /var/run/utmp and
  15. removes the possible present /etc/nologin, /fastboot and /forcefsck
  16. files.</para></sect4>
  17. <sect4><title>functions</title>
  18. <para>The functions script contains shared functions among different
  19. scripts such as error checking, status checking, etc.</para></sect4>
  20. <sect4><title>halt</title>
  21. <para>The halt script halts the system.</para></sect4>
  22. <sect4><title>ifdown, ifup</title>
  23. <para>The ifdown and ifup scripts assist the network script with
  24. network devices.</para></sect4>
  25. <sect4><title>loadkeys</title>
  26. <para>The loadkeys script loads the proper keymap table that matches your
  27. keyboard layout.</para></sect4>
  28. <sect4><title>localnet</title>
  29. <para>The localnet script sets up the system's hostname and local loopback
  30. device.</para></sect4>
  31. <sect4><title>mountfs</title>
  32. <para>The mountfs script mounts all file systems that aren't marked noauto
  33. or aren't network based.</para></sect4>
  34. <sect4><title>mountproc</title>
  35. <para>The mountproc script is used to mount the proc filesystem.</para></sect4>
  36. <sect4><title>network</title>
  37. <para>The network script sets up network interfaces (such as network cards)
  38. and sets up the default gateway where applicable.</para></sect4>
  39. <sect4><title>rc</title>
  40. <para>The rc script is the master runlevel control script which is
  41. responsible for running all the other scripts one-by-one in a specific
  42. sequence.</para></sect4>
  43. <sect4><title>reboot</title>
  44. <para>The reboot scripts reboots the system.</para></sect4>
  45. <sect4><title>sendsignals</title>
  46. <para>The sendsignals script makes sure every process is terminated before
  47. the system reboots or halts.</para></sect4>
  48. <sect4><title>setclock</title>
  49. <para>The setclock scripts resets the kernel clock to localtime in case
  50. the hardware clock isn't set to GMT time.</para></sect4>
  51. <sect4><title>swap</title>
  52. <para>The swap scripts enables and disables swap files and
  53. partitions.</para></sect4>
  54. <sect4><title>sysklogd</title>
  55. <para>The sysklogd script start and stops the system and kernel log
  56. daemons.</para></sect4>
  57. <sect4><title>template</title>
  58. <para>The template script is a template you can use to create your own
  59. bootscripts for your other daemons.</para></sect4>
  60. </sect3>
  61. </sect2>