bootscripts-desc.xml 2.5 KB

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