| Server IP : 127.0.1.1 / Your IP : 216.73.216.83 Web Server : Apache/2.4.58 (Ubuntu) System : Linux nepub 6.8.0-88-generic #89-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 11 01:02:46 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
if [ "$1" != "upgrade" ]; then
update-alternatives --remove iptables /usr/sbin/iptables-legacy
update-alternatives --remove ip6tables /usr/sbin/ip6tables-legacy
update-alternatives --remove iptables /usr/sbin/iptables-nft
update-alternatives --remove ip6tables /usr/sbin/ip6tables-nft
update-alternatives --remove arptables /usr/sbin/arptables-nft
update-alternatives --remove ebtables /usr/sbin/ebtables-nft
fi
# remove compat symlinks for /sbin -> /usr/sbin move
# This piece of code can be dropped eventually, when we are confident user
# systems are left in a consistent state.
if [ "$1" = "remove" ] ; then
LIST="iptables
iptables-save
iptables-restore
ip6tables
ip6tables-save
ip6tables-restore"
for i in /sbin/$LIST ; do
if [ -L "$i" ] ; then
rm $i
fi
done
fi