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

Re: is DEVICE in ifcfg-* redundant?



Stepan Kasal (skasal redhat com) said: 
> Hello,
> 
> in most cases, /etc/sysconfig/network-scripts/ifcfg-foo contains
> DEVICE=foo
> 
> 1) Are there cases, where the file name differs from ifcfg-$DEVICE?

Yes - alternate configurations, dial-up, etc.

> 2) Could we agree that if DEVICE is not set, it defaults to
> 	${CONFIG##*ifcfg-}
>    ?  (I.e., source_config in network-functions would set it.)

It's a reasonable default, yes. File a bz?

Bill


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