Current-Users archive

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

Re: Finding the current network devices



In article <20151018104020.32350513@imp>,
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost> wrote:
>On Sun, 18 Oct 2015 10:07:05 -0400
>gary%duzan.org@localhost wrote:
>>    Note that that isn't universal across Linux. I have at least one
>> fairly modern Linux box at work which renames the interfaces from
>> eth# to something else.
>
>In any case the other problem is that variable names can't be
>variable.  I can't do "ifconfig_$eth0="etc...".  I quess I just have to
>remember to edit the files when I move a server.

sure they can, just eval them.

christos



Home | Main Index | Thread Index | Old Index