#!/bin/sh # postinst script for lliurex-guard-standalone # # see: dh_installdeb(1) set -e PACKAGE_NAME="lliurex-guard-standalone" case "$1" in remove|purge|abort-install|disappear) # Stop iptables iptables -t nat -F sed 's/\/etc\/lliurex-guard-standalone\/iptables.conf//' /etc/rc.local > /tmp/rc.local cp /tmp/rc.local /etc/rc.local ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0