From 536f795d4853439e48d3140e4fb2295677478fe5 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Thu, 18 Aug 2011 15:02:30 +0200 Subject: [PATCH] proxyvm: allow for user defined hooks after iptables restore --- proxyvm/bin/qubes_firewall | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxyvm/bin/qubes_firewall b/proxyvm/bin/qubes_firewall index 13f5ba2..17761b2 100755 --- a/proxyvm/bin/qubes_firewall +++ b/proxyvm/bin/qubes_firewall @@ -35,4 +35,7 @@ while true; do # If OK save it for later /sbin/service iptables save >/dev/null fi + + # Check if user didn't define some custom rules to be applied as well... + [ -x /rw/config/qubes_firewall_user_script ] && /rw/config/qubes_firewall_user_script done