Re: is DEVICE in ifcfg-* redundant?

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

 



On Fri, Aug 10, 2007 at 01:33:55PM +0200, Stepan Kasal wrote:

> 1) Are there cases, where the file name differs from ifcfg-$DEVICE?

Yes, life is not that easy.

There is also DEVNAME and in existing (more complex) PPP config setups
I have for example in a file called ifcfg-peer10:

  DEVICE=ppp10
  DEVNAME=peer10

> 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.)

DEVNAME defaults to ${CONFIG##*ifcfg-} and this does not need to
be the same as DEVICE.  So what you actually propose is to let
DEVICE default to DEVNAME.

-- 
--    Jos Vos <jos@xxxxxx>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux