K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / lib / dpkg / info /
server ip : 104.21.89.46

your ip : 172.69.130.140

H O M E


Filename/var/lib/dpkg/info/iptables-persistent.preinst
Size528
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 10:18
Last modified06-Jan-2013 12:53
Last accessed07-Jul-2025 00:24
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh

set -e


case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" le "0.5.2"; then
update-rc.d -f iptables-persistent remove
fi
if [ -e /etc/iptables/rules ]; then
if [ -e /etc/iptables/rules.v4 ]; then
mv -f /etc/iptables/rules /etc/iptables/rules.v4.dpkg-old
else
mv -f /etc/iptables/rules /etc/iptables/rules.v4
fi
fi
;;

abort-upgrade)
;;

*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac