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

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.