Summary
the script
/etc/rc.d/rc.sysinit
is the sysinit entry point of puppylinux.
the program which serves as the sysinit entry point is defined in inittab
Secondary Startup Scripts
rc.sysinit launches a number of secondary startup scripts.Network Startup
The network startup script depends on the default network wizard (defined in defaultconnect), as summarized in the following table:Default Network Wizard | Coresponding Startup Scripts |
---|---|
Pwireless2 | rc.network_basic, Pwireless2 |
net-setup.sh | /etc/rc.d/rc.network |
net_wiz_classic | net_setup/etc/rc.d/rc.network |
sns | rc.network_basic, /usr/local/simple_network_setup/rc.network |
connectwizard* | rc.network_basic, /usr/local/simple_network_setup/rc.network |
*connect wizard also executes an additional startup script based on the following code:
# eth0 usable? if /sbin/ifconfig eth0 &>/dev/null ;then if [ -x /etc/rc.d/rc.network ]; then RCNETWORK=/etc/rc.d/rc.network elif [ -e /etc/init.d/Pwireless2 ]; then chmod 755 /etc/init.d/Pwireless2 fi fi