fi
# remove old iptables init script
-if [ -e /etc/init.d/iptables ]; then
- rm -f /etc/init.d/iptables
- update-rc.d -f iptables remove
-fi
+update-rc.d -f iptables remove >/dev/null 2>&1 || true
# check if old default file exists and import it
if [ -e /etc/default/iptables ]; then