D7net Mini Sh3LL v1

 
OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /var/www/html/../../lib/dpkg/../php/../dpkg/info/

 Home   ☍ Command   ☍ Upload File   ☍Info Server   ☍ Buat File   ☍ Mass deface   ☍ Jumping   ☍ Config   ☍ Symlink   ☍ About 

Current File : /var/www/html/../../lib/dpkg/../php/../dpkg/info/iptables.prerm
#!/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="/sbin/iptables
	     /sbin/iptables-save
	     /sbin/iptables-restore
	     /sbin/ip6tables
	     /sbin/ip6tables-save
	     /sbin/ip6tables-restore"

	for i in $LIST ; do
		if [ -L "$i" ] ; then
			rm $i
		fi
	done
fi



AnonSec - 2021 | Recode By D7net