From f0de081faf2a2f7cab982791e10230dc71c6306a 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 13f5ba24..17761b2e 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