mavrothal 7340988e85 Bummer. Correct wrong 'fix' vor 9 Jahren
..
BOOTCONFIG 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
BOOTCONSTRAINED 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
MODULESCONFIG 9ee31e413b fix line for module loading wl module : rerwin, peebee vor 10 Jahren
PUPSTATE 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
README.txt 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
functions 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
functions4puppy dc3f87e05e Fixes to functions4puppy and DISTRO_PET_REPOS vor 9 Jahren
functions4puppy4 ea1465560a Revert "Move all-firmware to modem-firmware" vor 11 Jahren
init.d dfa7ea51c8 Fix all the missing symlinks, there were 372 of them. Please review. vor 11 Jahren
rc.country f7a65c0aff Fixes for rootfs-skeleton vor 9 Jahren
rc.network_basic 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
rc.services 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
rc.shutdown 787c73a1e5 Removed Unionfs support (#607) vor 9 Jahren
rc.shutdown-UNIPUP 45daa9e5bf Remove old commented-out code vor 11 Jahren
rc.shutdown.pot 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
rc.shutdown.pupdev 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo vor 11 Jahren
rc.sysinit 787c73a1e5 Removed Unionfs support (#607) vor 9 Jahren
rc.sysinit-UNIPUP 787c73a1e5 Removed Unionfs support (#607) vor 9 Jahren
rc.update 7340988e85 Bummer. Correct wrong 'fix' vor 9 Jahren

README.txt

For Puppy 4.1+
--------------

Firewall:

When the firewall is installed, it will be in /etc/rc.d
folder as "rc.firewall" and the file "rc.local" will
have an entry to start it.
"rc.local" is called from "rc.sysinit".

Startup:

When Puppy boots, the order of execution of the
scripts is (except for a full-hd installation and UniPup):

/init (in the initial ramdisk)

switch_root occurs, some content of / relocates to /initrd
and the following scripts then executed:

/etc/rc.d/rc.sysinit
Called from rc.sysinit:
/etc/rc.d/rc.update
/etc/rc.d/rc.network (as a parallel process)
/etc/rc.d/rc.services (as a parallel process)
/etc/rc.d/rc.country
/etc/rc.d/rc.local (created by rc.sysinit if doesn't exist)

/etc/profile

Puppy doesn't use runlevels.

Note, the only script listed above that is not user-editable is init,
as this is pristine out of initrd.gz.

Full-hd installation
--------------------
An exception to the above description is a full hard drive installation.
In that case, initrd.gz is not used, and there is no pivot_root and no
/initrd folder. This mode has PUPMODE=2.
The above sequence is still correct, except that the Busybox /sbin/init
is the first thing that executes, then rc.sysinit, etc.

UniPup
------
UniPup is a variant of Puppy that runs totally in the initramfs.
The execution sequence is essentially the same as for the full-hd
installation.
In this case, the first script that executes is /init but this is just
a symlink to /bin/busybox. Then it is rc.sysinit and as shown above.


Note1: /etc/rc.d/functions is from Slackware. Some service scripts in /etc/init.d/
may use it.
Note2: /etc/rc.d/functions4puppy4 are various functions needed by Puppy boot
scripts, pup_event_backend* and pup_event_frontend* scripts.