Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Detection of network-cable



On Sun, Mar 16, 2003 at 09:49:57PM +0100, Oliver Friedrich wrote:
> > dhcpcd takes the parameter -t for setting a timeout in seconds.
> >
> 
> Thanks, that works perfect and is the simpliest solution for the problem.
> But thanks to all the others, too.

Don't overlook some simple 'bash' in conjunction with the output from 
'mii-tool' :)

$ mii-tool eth0
eth0: negotiated 100baseTx-FD, link ok

Simple 'grep'ping of the output for 'ok' would allow for a very fast
startup without the need for any 'timeout' values or background daemons.

Cheers,
gdh


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index