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:
parent
07c2f2a5f4
commit
5080c7c2d3
11
debian/qubes-core-agent.postinst
vendored
11
debian/qubes-core-agent.postinst
vendored
@ -275,17 +275,6 @@ case "${1}" in
|
|||||||
# Set default "runlevel"
|
# Set default "runlevel"
|
||||||
systemctl set-default multi-user.target
|
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
|
# Process all triggers which will set defaults to wanted values
|
||||||
triggerTriggers
|
triggerTriggers
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user