2011/9/1 Bruce Dubbs <bruce.du...@gmail.com>: > xinglp wrote: >> 2011/8/31 Bruce Dubbs <bruce.du...@gmail.com>: >>> xinglp wrote: >>>> This is a patch fix some issues I met. >>> I'm looking at the changes, but don't see what problems they are trying >>> to solve. >>> >>> In the rc script, I think the change you made will set IN_BOOT >>> improperly if the user executes init to change run levels from, for >>> example, 5 to 3. >> >> Setting "ONBOOT=no" in /etc/sysconfig/ifconfig.xxx has NO effects. > > OK, lets just address this for now. The boot sequence is > > Run init.d/rc script > Run init.d/network script > Run /sbin/ifup script > > I think I see the problem. In init.d/rc there is the line > > [ "${previous}" = "N" ] && IN_BOOT=1 > > Try changing that to > if [ "${previous}" = "N" ]; then > IN_BOOT=1 > export IN_BOOT > fi > > Please let me know if that works for you.
Only work system startup, but not shutdown. > > -- Bruce > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page > -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page