HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/iptables-persistent.postrm
#!/bin/sh

set -e

case "$1" in
purge)
	rm -rf /etc/iptables/rules \
		/etc/iptables/rules.v4 \
		/etc/iptables/rules.v6
;;
esac

# To register the drop-in's removal
if [ "$1" = "remove" ] && [ -d /run/systemd/system ]; then
	systemctl --system daemon-reload >/dev/null || true
fi

# Automatically added by dh_installdeb/13.11.4ubuntu3
dpkg-maintscript-helper rm_conffile /etc/systemd/system/netfilter-persistent.service.d/iptables.conf -- "$@"
# End automatically added section
# Automatically added by dh_installdebconf/13.11.4ubuntu3
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section