#!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/monmotha/files/monmotha.rc6,v 1.3 2004/07/15 00:03:49 agriffis Exp $ opts="${opts} stats help reload" arnoscr="/usr/sbin/arno-iptables-firewall" depend() { use logger } start() { ebegin "Starting Arno's iptables firewall" ${arnoscr} start eend $? } stop() { ebegin "Stopping Arno's iptables firewall" ${arnoscr} stop eend $? } restart() { ebegin "Restarting Arno's iptables firewall" ${arnoscr} restart } stats() { ebegin "Arno's iptables firewall status" ${arnoscr} status eend $? "Failed to show status" } reload() { ebegin "Reloading Blackholes in Arno's iptables firewall" ${arnoscr} reload eend $? "WARNING: Failed to reload" }