]> git.ipfire.org Git - ipfire-2.x.git/commit
update-ids-ruleset: Silent script if no providers settings file exists.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 13 May 2022 17:10:44 +0000 (19:10 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 13 May 2022 20:38:45 +0000 (20:38 +0000)
commite2f4f99e498a89157e85e8e4b983e61568956e9e
treefafe095baea34f3ca1f463be0940335b465422d7
parentceb8b07b2cfedc5ec84576dd85db80bd83ce7ab1
update-ids-ruleset: Silent script if no providers settings file exists.

Only try to read-in the providers settings file, in case it exists.
Otherwise the script produces an error message, about the missing file,
each time it gets executed.

Because of the fcron job this would be twice a day in most cases.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
src/scripts/update-ids-ruleset