mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-06 03:26:49 +03:00
init: Fix ipset permissions on restart
This commit is contained in:
@@ -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 "$@"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user