]> 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>
Thu, 2 Dec 2021 06:54:46 +0000 (07:54 +0100)
commitaf28f7f4fda70046ad66c1bf802550fbd25e0af1
treefc416e36566058495066da0ef6fc70bb7d273f29
parent49baf9717a30414e396e5603db6b81ddaf635a60
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