blob: cf4cf2e5445c88c61b2b0102a4219b375595b05c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
#
# $OpenBSD: nfsd,v 1.3 2011/08/02 11:59:25 robert Exp $
daemon="/sbin/nfsd"
. /etc/rc.d/rc.subr
pexp="(${daemon}*|nfsd: (master|server)$)"
rc_reload=NO
rc_pre() {
[ -s /etc/exports -a `sed -e '/^#/d' < /etc/exports | wc -l` -ne 0 ]
}
rc_cmd $1
|