summaryrefslogtreecommitdiff
path: root/net-firewall/lutelwall/files/lutelwall
blob: e99b3923a975f7622f2e77d52cd8d31bb0388c95 (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
25
#!/sbin/openrc-run
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later

depend() {
	need net
	use logger
}

start() {
	ebegin "Starting LutelWall"
	/usr/sbin/lutelwall start
	eend $?
}

stop() {
	ebegin "Stopping LutelWall"
	/usr/sbin/lutelwall stop
	eend $?
}

restart() {
	stop
	start
}