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 : 172.67.156.115

your ip : 172.71.1.178

H O M E


Filename/var/lib/dpkg/info/iptables-persistent.postinst
Size1.48 kb
Permissionrwxr-xr-x
Ownerroot : root
Create time27-Apr-2025 10:18
Last modified06-Jan-2013 12:53
Last accessed27-Apr-2025 10:18
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
#!/bin/sh

set -e

# Source debconf library
. /usr/share/debconf/confmodule

case "$1" in
configure)
db_get iptables-persistent/autosave_done || true
if [ "x$RET" != "xtrue" ]; then
db_get iptables-persistent/autosave_v4 || true
if [ "x$RET" = "xtrue" ]; then
if which iptables > /dev/null ; then
if iptables -t filter -L -n > /dev/null; then
iptables-save > /etc/iptables/rules.v4
else
echo "IPv4: Unable to save (table filter isn't available or module not loadable)"
fi
else
echo "IPv4: Can't find iptables in $PATH, please check your system"
fi
fi
db_get iptables-persistent/autosave_v6 || true
if [ "x$RET" = "xtrue" ]; then
if which ip6tables > /dev/null ; then
if ip6tables -t filter -L -n > /dev/null; then
ip6tables-save > /etc/iptables/rules.v6
else
echo "IPv6: Unable to save (table filter isn't available or module not loadable)"
fi
else
echo "IPv6: Can't find ip6tables in $PATH, please check your system"
fi
fi

db_set iptables-persistent/autosave_done true || true
fi
;;
esac

# Automatically added by dh_installinit
if [ -x "/etc/init.d/iptables-persistent" ]; then
if [ ! -e "/etc/init/iptables-persistent.conf" ]; then
update-rc.d iptables-persistent start 37 2 3 4 5 . stop 37 0 1 6 . >/dev/null
fi
invoke-rc.d iptables-persistent start || exit $?
fi
# End automatically added section