]> 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>
Wed, 8 Sep 2021 17:37:24 +0000 (19:37 +0200)
commit01cb4dd2285aa8bee3ed9dde54b69d0bf43f1056
tree382bd85710139a4d14f5053a02a477f557ae93ca
parent8e93649c7ccb1a91e881f68eaf7399f57c548c41
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