Web lists-archives.com

Re: processing order for configuration files in /etc/network/interfaces.d




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Aug 23, 2018 at 05:31:57PM +0300, Martin T wrote:
> Hi!
> 
> According to "man interfaces", the ifup brings the named interfaces up
> in the order listed in /etc/network/interfaces file. However, what is
> the order for files in /etc/network/interfaces.d/? Alphabetical, i.e
> same as "ls -l /etc/network/interfaces.d/"?

I assume the files there are invoked by run-parts (man interfaces(5) at
least hints at that). In that case yes, they are run in lexical order.

But I'd double-check the run-parts part (heh). I've been caught spewing
nonsense here ;-)

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlt+zN8ACgkQBcgs9XrR2kbV9wCeKwl3eILQA2d5rA6QgDKIIwQy
5scAn1NM68w35jLdQxrcD6F1dqCNpRpI
=JRHj
-----END PGP SIGNATURE-----