Re: nameif with PCMCIA nics

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

 



Pekka Savola (pekkas@xxxxxxxxxx) said: 
> > > > Can you elaborate in what way it isn't working?
> > 
> > > Yes, later today.
> > 
> > Try the attached.
> 
> Good for testing, but the real fix probably needs to disregard some 
> specific files from "ifcfg-*", like in /etc/init.d/network:
> 
> interfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|rpmsave|rpmorig|rpmnew)' | \
>             LANG=C egrep -v '(~|\.bak)$' | \
>             LANG=C egrep 'ifcfg-[A-Za-z0-9\._-]+$' | \
>             sed 's/^ifcfg-//g'`

Hm, that should probably be abstracted into a function to be used in
multiple places.

Bill


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

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux