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

This seems to be left implied but let's document it explicitly.
This commit is contained in:
Jonathan Lebon
2024-11-29 15:36:50 -05:00
committed by Beniamino Galvani
parent 191aaf0fb2
commit 99bb6b7593

View File

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