]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commit
update-ipblocklists: Adjust code to work with latest improvements
authorStefan Schantl <stefan.schantl@ipfire.org>
Wed, 14 Feb 2024 19:01:46 +0000 (20:01 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 3 Mar 2024 11:56:03 +0000 (12:56 +0100)
commitaacdd06765fa23ed1c39599abcd54df60ad2ee1d
tree89eb9255bdf8463b86b3a5922d7541d6d0b8c659
parent347cf7a9b69a53a55706894017efa1959b778f0b
update-ipblocklists: Adjust code to work with latest improvements

The former used modified file is not longer used (does not longer exist)
because the new general downloader uses stat instead.

Now to calculate the correct holdoff time when doing automatic updates
of a ruleset, we need to grab the last download time also by using stat.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/scripts/update-ipblocklists