]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/rootfiles/core/fifteen/update.sh
firewall: Convert filewall rules when updating to fifteen.
[people/teissler/ipfire-2.x.git] / config / rootfiles / core / fifteen / update.sh
index f03f55847e5d97a7f52b34c5a8a6bf747539a62d..1e5521229e92c95fa75474deafbda9d9a894e21c 100644 (file)
@@ -44,6 +44,15 @@ extract_files
 # Update Language cache
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
 
 # Update Language cache
 perl -e "require '/var/ipfire/lang.pl'; &Lang::BuildCacheLang"
 
+# Convert firewall configuration
+/usr/bin/convert-xtaccess
+/usr/bin/convert-outgoingfw
+/usr/bin/convert-portfw
+/usr/bin/convert-dmz
+
+# Remove old firewall configuration files
+rm -rf /var/ipfire/{dmzholes,portfw,outgoing,xtaccess}
+
 sync
 
 # This update need a reboot...
 sync
 
 # This update need a reboot...