aboutsummaryrefslogtreecommitdiffstats
path: root/main/unfs3/unfs3.initd
blob: a2cf864f04966fe7221c31179e362b94d2d29422 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/sbin/openrc-run

depend() {
	config /etc/exports
	use net
	after firewall
	need portmap
}

start() {
	ebegin "Starting unfs3"
	start-stop-daemon --start --quiet --exec /usr/sbin/unfsd \
		-- ${UNFSD_OPTS}
	eend $?
}

stop() {
	ebegin "Stopping unfs3"
	start-stop-daemon --stop --quiet --exec /usr/sbin/unfsd
	eend $?
}