mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-10 09:18:25 +02:00
configroot: Create "settings" and "modify" files for ipblocklist
The third version of this patch conducts the necessary changes in configroot. Previously, they took place in ipblocklist itself, which would have caused user settings to be overwritten, should ipblocklist be shipped in future Core Updates. Fixes: #12917 Cc: Stefan Schantl <stefan.schantl@ipfire.org> Signed-off-by: Peter Müller <peter.mueller@ipfire.org> Acked-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
@@ -164,6 +164,10 @@ ldconfig
|
||||
mkdir -pv /var/lib/ipblocklist
|
||||
chown nobody:nobody /var/lib/ipblocklist
|
||||
|
||||
# Create necessary files for IPBlocklist and set their ownership accordingly (#12917)
|
||||
touch /var/ipfire/ipblocklist/{settings,modified}
|
||||
chown nobody:nobody /var/ipfire/ipblocklist/{settings,modified}
|
||||
|
||||
# Rebuild fcrontab from scratch
|
||||
/usr/bin/fcrontab -z
|
||||
|
||||
|
||||
Reference in New Issue
Block a user