]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
ids-functions.pl: Introduce alter_oinkmaster_provider_includes_file().
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 2 Apr 2021 07:13:17 +0000 (09:13 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 3 Aug 2021 17:25:49 +0000 (19:25 +0200)
commit6fabf461eb265dbda40cb9931358005a4fd11a24
tree75714c5de83f0e77cee726f43b34bd2fd4a3bbb8
parentf6dc5e269d5d08b3c187c7950dda19da197811e1
ids-functions.pl: Introduce alter_oinkmaster_provider_includes_file().

This function can be used to directly modify the desired file.

It takes two arguments:
 * An action which could be "add" or "remove"
 * A provider handle, which should be added or removed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/cfgroot/ids-functions.pl