mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
This patch changes that the script will listen to changes to the directory instead of the file which got complicated when files got renamed. It also processes all changes at the same time and tries finding out what actions have to be performed in order to avoid unnecessary iterations. The script is also limited to process any changes only once every five seconds to keep resource usage in check on busy systems. Suggested-by: Anthony Heading <ajrh@ajrh.net> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>