unfs3.initd 323 Bytes
Newer Older
Henrik Riomar's avatar
Henrik Riomar committed
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 $?
}