Hi, 

this is already done in the check_link_down () function. See the
/etc/sysconfig/network-scripts/network-functions file for that. The
/sbin/ifup script already uses that function.

cheers,

>Mike Jensen <[EMAIL PROTECTED]> writes:

> I'm currently unable to post to the list, but here's what I've done to make mine
> work more smoothly...(You're welcome to forward this to the cooker list as a
> temporary workaround.)
> 
> All I did was modify /etc/sysconfig/network-scripts/ifcfg-eth0 to include the
> following "if" statement:
> 
> DEVICE=eth0
> BOOTPROTO=dhcp
> NETMASK=255.255.255.0
> ONBOOT=yes
> HWADDR=00:08:76:2a:1e:18
> if [ "`/sbin/mii-tool | grep eth0 | grep -c "no link"`" = "1" ]; then
>      ONBOOT=no
> fi
> 

-- 
Florin                  http://www.mandrakesoft.com
                        http://people.mandrakesoft.com/~florin/

Reply via email to