mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-08 14:06:10 +02:00
Firewall: fix Update from core 75 to 76
This commit is contained in:
committed by
Michael Tremer
parent
1e4b7130e1
commit
a3f2459f8f
@@ -11,3 +11,4 @@ usr/sbin/firewall-policy
|
||||
var/ipfire/firewall/p2protocols
|
||||
var/ipfire/fwhosts/icmp-types
|
||||
var/ipfire/menu.d/50-firewall.menu
|
||||
var/ipfire/fwhosts/customservices.default
|
||||
|
||||
@@ -291,6 +291,10 @@ touch /var/ipfire/fwhosts/customgroups
|
||||
touch /var/ipfire/fwhosts/customservices
|
||||
touch /var/ipfire/fwhosts/customservicegrp
|
||||
|
||||
if [ ! -s "/var/ipfire/fwhosts/customservices" ];then
|
||||
cp /var/ipfire/fwhosts/customservices.default /var/ipfire/fwhosts/customservices
|
||||
fi
|
||||
|
||||
# Fix ownership.
|
||||
chown -R nobody:nobody /var/ipfire/firewall
|
||||
chown -R nobody:nobody /var/ipfire/fwhosts
|
||||
|
||||
Reference in New Issue
Block a user