summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-08-22 08:10:38 +0000
committerjsg <jsg@openbsd.org>2014-08-22 08:10:38 +0000
commit52054799c0e33e310f1cc47c4f30636a5daa537d (patch)
treeed7fa10337b4b038ed6dc64ffa8f9ce4593dc07a
parentfix memory leak in isakmpd (diff)
downloadwireguard-openbsd-52054799c0e33e310f1cc47c4f30636a5daa537d.tar.xz
wireguard-openbsd-52054799c0e33e310f1cc47c4f30636a5daa537d.zip
Set the default nfsd flags to "-tun 4". Matches the comment
in rc.conf and the behaviour of the backwards compatibility code in rc.subr for nfs_server=YES. ok ajacoutot@
-rw-r--r--etc/rc.d/nfsd3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd
index 39476217049..286e61b126c 100644
--- a/etc/rc.d/nfsd
+++ b/etc/rc.d/nfsd
@@ -1,8 +1,9 @@
#!/bin/sh
#
-# $OpenBSD: nfsd,v 1.5 2012/08/14 07:43:57 ajacoutot Exp $
+# $OpenBSD: nfsd,v 1.6 2014/08/22 08:10:38 jsg Exp $
daemon="/sbin/nfsd"
+daemon_flags="-tun 4"
. /etc/rc.d/rc.subr