is DEVICE in ifcfg-* redundant?

Bill Nottingham notting at redhat.com
Fri Aug 10 12:59:34 UTC 2007


Stepan Kasal (skasal at 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




More information about the fedora-devel-list mailing list