@Bruce, I did exactly as you have mentioned and it seems that only the scripts are in */etc/rc.d/rcS.d/* will get executed
root:/# ls -l /etc/rc.d/rcS.d/ total 0 lrwxrwxrwx 1 root root 21 Feb 17 10:36 S00mountvirtfs -> ../init.d/mountvirtfs lrwxrwxrwx 1 root root 17 Feb 17 10:36 S05modules -> ../init.d/modules lrwxrwxrwx 1 root root 18 Feb 17 10:36 S08localnet -> ../init.d/localnet lrwxrwxrwx 1 root root 14 Feb 17 10:36 S10udev -> ../init.d/udev lrwxrwxrwx 1 root root 14 Feb 17 10:36 S20swap -> ../init.d/swap lrwxrwxrwx 1 root root 17 Feb 17 10:36 S30checkfs -> ../init.d/checkfs lrwxrwxrwx 1 root root 17 Feb 17 10:36 S40mountfs -> ../init.d/mountfs lrwxrwxrwx 1 root root 17 Feb 17 10:36 S45cleanfs -> ../init.d/cleanfs lrwxrwxrwx 1 root root 20 Feb 17 10:36 S50udev_retry -> ../init.d/udev_retry lrwxrwxrwx 1 root root 17 Feb 17 10:36 S70console -> ../init.d/console lrwxrwxrwx 1 root root 16 Feb 17 10:36 S90sysctl -> ../init.d/sysctl On Thu, Feb 20, 2014 at 9:23 AM, Bruce Dubbs <[email protected]> wrote: > Oshadha Gunawardena wrote: > > @Pierre, I checked the "/etc/rc.d/init.d/network" script it seems OK. And > > the run levels are 3, 4, 5 (as per the script). Also I checked in > > > > /etc/rc.d/rc.3 > > /etc/rc.d/rc.4 > > /etc/rc.d/rc.5 > > > > And there are symlinks to the network script. It seems like the > > network script it self isn't get executed. Is there a way that I can > > ensure the script is being executed? Like altering it maybe > > Don't top post. > > Ecit /etc/sysconfig/rc.site and uncomment: > > #IPROMPT="yes" # Whether to display the interactive boot promp > #itime="3" # The ammount of time (in seconds) to display the prompt > > When you boot, it asks if you want to do an interactive prompt. Say > yes. You can then step through the boot scripts one at a time. > > Edit /etc/rc.d/init.d/network and add > > 'echo $interface' right below the line > > interface=${file##*/ifconfig.} > > Then lets see what you get. > > -- Bruce > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
