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).
This commit is contained in:
HW42 2015-02-02 23:45:37 +01:00 committed by Marek Marczykowski-Górecki
parent 07c2f2a5f4
commit 5080c7c2d3

View File

@ -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