summaryrefslogtreecommitdiff
path: root/security/cfs/files
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2011-08-17 10:52:12 +0000
committerChris Rees <crees@FreeBSD.org>2011-08-17 10:52:12 +0000
commitca01166ac996bae1961837afb59f57b6efdd313c (patch)
tree24ee324ead4c278162a2a318fa56ee36b6c90ac0 /security/cfs/files
parent- Update MASTER_SITES (diff)
Fix rc script to stop nfs hangs
PR: ports/133563 Submitted by: Thiemo Nordenholz <list@thiemo.net>, yar
Notes
Notes: svn path=/head/; revision=279895
Diffstat (limited to 'security/cfs/files')
-rw-r--r--security/cfs/files/cfsd.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/cfs/files/cfsd.sh.in b/security/cfs/files/cfsd.sh.in
index f344bde4b468..c8030c9a886c 100644
--- a/security/cfs/files/cfsd.sh.in
+++ b/security/cfs/files/cfsd.sh.in
@@ -13,7 +13,9 @@
#
# Additional options:
#
-# cfsd_port="3049" # the port to listen to
+# cfsd_port="3049,udp" # the port to listen to
+# XXX ports/133593 yar suggested that the ,udp suffix be used to avoid
+# hangs of mount_nfs -- it's ignored by cfsd so shouldn't cause any problems
# cfsd_mountpoint="/crypt" # the CFS mountpoint
#
@@ -42,7 +44,7 @@ cfsd_prestop()
load_rc_config $name
: ${cfsd_enable="NO"}
-: ${cfsd_port="3049"}
+: ${cfsd_port="3049,udp"}
: ${cfsd_mountpoint="/crypt"}
command_args="$cfsd_port >/dev/null 2>&1"