Skip to content

Commit

Permalink
Fix rc script to stop nfs hangs
Browse files Browse the repository at this point in the history
PR:		ports/133563
Submitted by:	Thiemo Nordenholz <[email protected]>, yar
  • Loading branch information
crees committed Aug 17, 2011
1 parent 5dd7bfa commit 11490b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion security/cfs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

PORTNAME= cfs
PORTVERSION= 1.4.1
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= security
MASTER_SITES= http://www.crypto.com/software/

Expand Down
6 changes: 4 additions & 2 deletions security/cfs/files/cfsd.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
#

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 11490b2

Please sign in to comment.