blob: 39476217049fd44d3a1a6e2a05ab80185e91273a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
#
# $OpenBSD: nfsd,v 1.5 2012/08/14 07:43:57 ajacoutot Exp $
daemon="/sbin/nfsd"
. /etc/rc.d/rc.subr
pexp="(${daemon}( |$)|nfsd: (master|server)$)"
rc_reload=NO
rc_pre() {
[ -s /etc/exports ] && grep -qv '^#' /etc/exports
}
rc_cmd $1
|