Re: [PATCH f17-branch] dracut: fix kickstarting with 'network --device=MAC'

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

 



On Fri, 2012-05-04 at 09:36 +0200, Vratislav Podzimek wrote:
> On Thu, 2012-05-03 at 19:22 -0400, Will Woods wrote:
> > +def find_devname(mac):
> > +    sysdir="/sys/class/net"
> > +    for netif in os.listdir("/sys/class/net"):
[snip]
> Why do you define $sysdir and then use the "/sys/class/net" instead of
> it?

Whoops, good catch - I meant to drop the sysdir="/sys/class/net" line,
but forgot. I'll amend before I push.

-w

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux