diff options
Diffstat (limited to 'net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2')
-rw-r--r-- | net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 deleted file mode 100644 index 79f2a3773439..000000000000 --- a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2 +++ /dev/null @@ -1,42 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ipac-ng/files/ipac-ng.rc.1.27_p1-r2,v 1.4 2004/07/27 08:50:13 eldad Exp $ - -depend() { - need net logger -} - -start() { - ebegin "Setting up ipac-ng iptables chains" - /usr/sbin/fetchipac -S - /usr/sbin/fetchipac - eend $? -} - -stop() { - ## fetch so we dont lose data - /usr/sbin/fetchipac - - IPT=/sbin/iptables - ebegin "Removing ipac-ng iptables settings" - - ${IPT} -D INPUT -s 0/0 -d 0/0 -j ipac~o - ${IPT} -D OUTPUT -s 0/0 -d 0/0 -j ipac~i - ${IPT} -D FORWARD -s 0/0 -d 0/0 -j ipac~fi - ${IPT} -D FORWARD -s 0/0 -d 0/0 -j ipac~fo - - ${IPT} -F ipac~i - ${IPT} -F ipac~o - ${IPT} -F ipac~fi - ${IPT} -F ipac~fo - - ${IPT} -X ipac~i - ${IPT} -X ipac~o - ${IPT} -X ipac~fi - ${IPT} -X ipac~fo - - rm -f /var/run/ipac.rules /var/run/ipac.status - - eend $? -} |