]> git.ipfire.org Git - ipfire-2.x.git/commit
ids-functions.pl: Rework &_cleanup_rulesdir() function
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 12 Oct 2018 13:43:16 +0000 (15:43 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 12 Oct 2018 13:43:16 +0000 (15:43 +0200)
commit8cf04a165696c512c8c2cb1f3d282c1f0cc88787
treebf9d57e474bffebf3bcf7e22603e866ab68fcc5e
parent4ce424884914e6ee5a721124eaec89b634c19f48
ids-functions.pl: Rework &_cleanup_rulesdir() function

* Use a directory listing and delete the files.
* Keep files with "config" as file extension.

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