]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/rootfiles/core/76/update.sh
Firewall: fix Update from core 75 to 76
[people/teissler/ipfire-2.x.git] / config / rootfiles / core / 76 / update.sh
index a9055d320f213c09f43bc074e9e3de159a691c09..0561f39563e0678c32f17a0b4ac3fe6c8bdfb34b 100644 (file)
@@ -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