From a2fe8816f1dfbb60debc2d1431067d832250d794 Mon Sep 17 00:00:00 2001 From: remittor Date: Tue, 11 Feb 2025 19:12:03 +0300 Subject: [PATCH] init: Fix ipset permissions on restart --- zapret/init.d.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zapret/init.d.sh b/zapret/init.d.sh index 5d6cb29..4aec1cc 100755 --- a/zapret/init.d.sh +++ b/zapret/init.d.sh @@ -73,6 +73,8 @@ function boot function restart { + chmod 644 /opt/zapret/ipset/*.txt + chmod 666 /opt/zapret/ipset/*.log rm -f /tmp/zapret*.log /bin/sh /etc/rc.common $ZAPRET_ORIG_INITD restart "$@" }