Marc Ferland wrote:
> Hi,
> 
>> From what I've read in the LFS book and some testing, I noticed
>> that each network interface that has the ONBOOT flag set to
>> anything else than "yes" will not be brought up (neither on boot or
>> by manually issuing a "network restart" command.
> 
> Correct me if I'm wrong, but this flag seems have 2 distinct use
> case, you can check it to verify if the interface should be brought
> up during boot _and_ if it is "enabled" in the system.
> 
> This also means that you cannot have an interface set to "no" and
> bring it up manually later. You'll first have to set the flag to
> "yes", call "network restart" and then set it back to "no".
> 
>> From the network init script, it also seems like the "IN_BOOT"
>> variable is always true...

Did you try e.g. `/etc/sysconfig/network-devices/ifup eth0'

There probably should be a symlink in /sbin to ifup and ifdown.

IN_BOOT is set in /etc/rc.d/init.d/network but that is for the entire 
network, not an individual interface.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to