mavrothal efa224984a Savefolder support in rc.shutdown and shutdownconfig. Remove save-to-floppy. 10 سال پیش
..
BOOTCONFIG 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
BOOTCONSTRAINED 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
MODULESCONFIG 9ee31e413b fix line for module loading wl module : rerwin, peebee 11 سال پیش
PUPSTATE 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
README.txt 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
functions 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
functions4puppy 45daa9e5bf Remove old commented-out code 11 سال پیش
functions4puppy4 ea1465560a Revert "Move all-firmware to modem-firmware" 11 سال پیش
init.d dfa7ea51c8 Fix all the missing symlinks, there were 372 of them. Please review. 11 سال پیش
rc.country 45daa9e5bf Remove old commented-out code 11 سال پیش
rc.network_basic 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
rc.services 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
rc.shutdown efa224984a Savefolder support in rc.shutdown and shutdownconfig. Remove save-to-floppy. 10 سال پیش
rc.shutdown-UNIPUP 45daa9e5bf Remove old commented-out code 11 سال پیش
rc.shutdown.pot 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
rc.shutdown.pupdev 07a44aa52f Initial commit from Nov 11, 2013, woof2 fossil repo 11 سال پیش
rc.sysinit 4b043de887 Mount 'auto' fstab entries at boot 11 سال پیش
rc.sysinit-UNIPUP 45daa9e5bf Remove old commented-out code 11 سال پیش
rc.update f8260cb6bf Remove old kernels when updating 10 سال پیش

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.