summaryrefslogtreecommitdiff
blob: 3724057d51c896f2241ac183736baabb6ef89be3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-firewall/firehol/files/firehol.initrd,v 1.1 2004/05/18 18:43:52 centic Exp $

opts="start stop"

depend() {
	need net
	provide firewall
}

start() {
	ebegin "Starting FireHOL"
	/usr/sbin/firehol start 1>/dev/null
	eend $? 
}

stop() {
	ebegin "Stopping FireHOL"
	/usr/sbin/firehol stop 1>/dev/null
	eend $?
}