summaryrefslogtreecommitdiff
blob: 1f5b0c79b7441d63747f3542e68cccc145da0c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/runscript

FREENET6_CLIENT="/usr/sbin/gw6c"

depend() {
	need net localmount
	after bootmisc
	use dns logger
}

start() {
	ebegin "Starting Freenet6 IPv6 Client"
	start-stop-daemon --start --quiet \
		--exec $FREENET6_CLIENT -- -f /etc/freenet6/gw6c.conf
	eend $?
}

stop() {
	ebegin "Stopping Freenet6 IPv6 Client"
	start-stop-daemon --stop --quiet --exec $FREENET6_CLIENT
	eend $?
}