From 5080c7c2d34bd1e746082f3eff39926f841f4887 Mon Sep 17 00:00:00 2001 From: HW42 Date: Mon, 2 Feb 2015 23:45:37 +0100 Subject: [PATCH] debian: postinst: remove fedora specific code /etc/iptables/rules.* are already part of the packet. The removed code has never done something in debian (since /etc/iptables/rules.* already exists). --- debian/qubes-core-agent.postinst | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/debian/qubes-core-agent.postinst b/debian/qubes-core-agent.postinst index ecfc599..7f9e4c9 100755 --- a/debian/qubes-core-agent.postinst +++ b/debian/qubes-core-agent.postinst @@ -275,17 +275,6 @@ case "${1}" in # Set default "runlevel" systemctl set-default multi-user.target - # Copy ip(|6)tables into place if they do not already exist in filesystem. - # This prevents conflict with iptables-service with fc21 and also put config - # in proper place for debian - mkdir -p '/etc/iptables' - if [ ! -f '/etc/iptables/rules.v4' ]; then - cp -p /usr/lib/qubes/init/iptables /etc/iptables/rules.v4 - fi - if [ ! -f '/etc/iptables/rules.v6' ]; then - cp -p /usr/lib/qubes/init/ip6tables /etc/iptables/rules.v6 - fi - # Process all triggers which will set defaults to wanted values triggerTriggers