Hello,

On Sun, 12 Jun 2011 22:16:51 +0200
Javier Fernández-Sanguino Peña <j...@computer.org> wrote:

> On Sat, Jun 11, 2011 at 02:13:56PM +0300, Andrew O. Shadoura wrote:
> > This isn't really needed as it can use `ip link show` to determine
> > the interface status.

> I'm afraid I'm not sure that is correct. Take the following example
> of a system that has eth0 and eth1 and only the second one (eth0) has
> a network cable plugged in:

> I'm afraid that as soon as an interface is 'UP' in the system 'ip
> link show' will indicate it is up even though it does not have link.

> I would appreciate if you could proppose an exact way in which to use
> ip in this context. If not, I will have to close this bug.

Well, then the code in the script isn't correct and possibly should be
removed anyway.

But thanks for showing it doesn't actually works.

-- 
WBR, Andrew

Attachment: signature.asc
Description: PGP signature

Reply via email to