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

Re: r72381 - trunk/src/debian-edu-install

[Holger Levsen]
> Hi,


> This doesnt work on my laptop:

Not even from within d-i, where this code is executed?

> $ ip -o link | grep '^.: eth'
> $ ip -o link | grep '^..: eth'|cut -d: -f-2
> 66: eth0
> $

I find it hard to believe d-i will assign 66 to eth0 on any laptop by
default.  Did you test?  If so, what is the complete list from ip -o

> So I'd suggest to use grep '^[0-9]+: eth' or such instead.

Not sure if the busybox grep handle it, but will try.

Happy hacking
Petter Reinholdtsen

Reply to: