merge: branch 'pr/precedence'

man/NetworkManager-dispatcher: document /{etc,usr} precedence

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2081
This commit is contained in:
Beniamino Galvani 2025-01-16 16:12:12 +00:00
commit 16b932c200

View file

@ -50,9 +50,10 @@
NetworkManager-dispatcher will execute scripts in the
<filename>/{etc,usr/lib}/NetworkManager/dispatcher.d</filename>
directory or subdirectories in
alphabetical order in response to network events. Each script should
be a regular executable file owned by root. Furthermore, it must not be
writable by group or other, and not setuid.
alphabetical order in response to network events. Files in <filename>/etc</filename>
take precedence over identically-named files in <filename>/usr/lib</filename>.
Each script should be a regular executable file owned by root. Furthermore, it must
not be writable by group or other, and not setuid.
</para>
<para>
Each script receives two arguments, the first being the interface name of the