summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ipac-ng/files/ipac-ng.rc.1.30')
-rwxr-xr-xnet-analyzer/ipac-ng/files/ipac-ng.rc.1.3042
1 files changed, 0 insertions, 42 deletions
diff --git a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30 b/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30
deleted file mode 100755
index 47fdb59..0000000
--- a/net-analyzer/ipac-ng/files/ipac-ng.rc.1.30
+++ /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.30,v 1.1 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 $?
-}