From ca01166ac996bae1961837afb59f57b6efdd313c Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Wed, 17 Aug 2011 10:52:12 +0000 Subject: Fix rc script to stop nfs hangs PR: ports/133563 Submitted by: Thiemo Nordenholz , yar --- security/cfs/files/cfsd.sh.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'security/cfs/files') 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" -- cgit v1.2.3