init: Fix ipset permissions on restart

This commit is contained in:
remittor
2025-02-11 19:12:03 +03:00
parent 71794ca7e0
commit a2fe8816f1

View File

@@ -73,6 +73,8 @@ function boot
function restart function restart
{ {
chmod 644 /opt/zapret/ipset/*.txt
chmod 666 /opt/zapret/ipset/*.log
rm -f /tmp/zapret*.log rm -f /tmp/zapret*.log
/bin/sh /etc/rc.common $ZAPRET_ORIG_INITD restart "$@" /bin/sh /etc/rc.common $ZAPRET_ORIG_INITD restart "$@"
} }