bootscripts-desc.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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, loadkeys, localnet, mountfs,
  5. network, rc, reboot, sendsignals, setclock, swap, sysklogd and
  6. 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>loadkeys</title>
  23. <para>The loadkeys script loads the proper keymap table that matches your
  24. keyboard layout.</para></sect4>
  25. <sect4><title>localnet</title>
  26. <para>The localnet script sets up the system's hostname and local loopback
  27. device.</para></sect4>
  28. <sect4><title>mountfs</title>
  29. <para>The mountfs script mounts all file systems that aren't marked noauto
  30. or aren't network based.</para></sect4>
  31. <sect4><title>network</title>
  32. <para>The network script sets up network interfaces (such as network cards)
  33. and sets up the default gateway where applicable.</para></sect4>
  34. <sect4><title>rc</title>
  35. <para>The rc script is the master runlevel control script which is
  36. responsible for running all the other scripts one-by-one in a specific
  37. sequence.</para></sect4>
  38. <sect4><title>reboot</title>
  39. <para>The reboot scripts reboots the system.</para></sect4>
  40. <sect4><title>sendsignals</title>
  41. <para>The sendsignals script makes sure every process is terminated before
  42. the system reboots or halts.</para></sect4>
  43. <sect4><title>setclock</title>
  44. <para>The setclock scripts resets the kernel clock to localtime in case
  45. the hardware clock isn't set to GMT time.</para></sect4>
  46. <sect4><title>swap</title>
  47. <para>The swap scripts enables and disables swap files and
  48. partitions.</para></sect4>
  49. <sect4><title>sysklogd</title>
  50. <para>The sysklogd script start and stops the system and kernel log
  51. daemons.</para></sect4>
  52. <sect4><title>template</title>
  53. <para>The template script is a template you can use to create your own
  54. bootscripts for your other daemons.</para></sect4>
  55. </sect3>
  56. </sect2>