README.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. For Puppy 4.1+
  2. --------------
  3. Firewall:
  4. When the firewall is installed, it will be in /etc/rc.d
  5. folder as "rc.firewall" and the file "rc.local" will
  6. have an entry to start it.
  7. "rc.local" is called from "rc.sysinit".
  8. Startup:
  9. When Puppy boots, the order of execution of the
  10. scripts is (except for a full-hd installation and UniPup):
  11. /init (in the initial ramdisk)
  12. switch_root occurs, some content of / relocates to /initrd
  13. and the following scripts then executed:
  14. /etc/rc.d/rc.sysinit
  15. Called from rc.sysinit:
  16. /etc/rc.d/rc.update
  17. /etc/rc.d/rc.network (as a parallel process)
  18. /etc/rc.d/rc.services (as a parallel process)
  19. /etc/rc.d/rc.country
  20. /etc/rc.d/rc.local (created by rc.sysinit if doesn't exist)
  21. /etc/profile
  22. Puppy doesn't use runlevels.
  23. Note, the only script listed above that is not user-editable is init,
  24. as this is pristine out of initrd.gz.
  25. Full-hd installation
  26. --------------------
  27. An exception to the above description is a full hard drive installation.
  28. In that case, initrd.gz is not used, and there is no pivot_root and no
  29. /initrd folder. This mode has PUPMODE=2.
  30. The above sequence is still correct, except that the Busybox /sbin/init
  31. is the first thing that executes, then rc.sysinit, etc.
  32. UniPup
  33. ------
  34. UniPup is a variant of Puppy that runs totally in the initramfs.
  35. The execution sequence is essentially the same as for the full-hd
  36. installation.
  37. In this case, the first script that executes is /init but this is just
  38. a symlink to /bin/busybox. Then it is rc.sysinit and as shown above.
  39. Note1: /etc/rc.d/functions is from Slackware. Some service scripts in /etc/init.d/
  40. may use it.
  41. Note2: /etc/rc.d/functions4puppy4 are various functions needed by Puppy boot
  42. scripts, pup_event_backend* and pup_event_frontend* scripts.