]> 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>
Sun, 19 Dec 2021 12:23:43 +0000 (13:23 +0100)
commitd878d9c01482510220aae1f432ad5c45bc05997d
tree41f49271e5646e5e3e83104d499ecc66dc78a9cd
parent5d523e4161ba6ac6ad568a456821b05ad4f73d33
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