From: Neil Brown Date: Mon, 5 Jun 2006 02:47:00 +0000 (+1000) Subject: fix nhfsrun signal X-Git-Tag: nfs-utils-1-0-9-pre1~15 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=20dbc272005b69903bb3c1c2a6623cf69084c111;p=nfs-utils.git fix nhfsrun signal nhfsrun is supposed to be able to be signalled with SIGUSR1, but the signal trapped is number 30, which is something else entirely (SIGPWR). This patch simply changes it to say "USR1", which gets it right no matter what the value is. "Steinar H. Gunderson" --- diff --git a/ChangeLog b/ChangeLog index c540115..3e7a27f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,5 @@ 2006-06-05 NeilBrown - Remove debian/ at request of Debian maintainer "Steinar H. Gunderson" + - Remove debian/ at request of Debian maintainer "Steinar H. Gunderson" - fix_exportfs_with_multiple_matches.diff: Fixes a problem with exportfs -o and multiple entries of the same type for the same patch that matches a given client. The entire rationale and problem description can be found @@ -20,6 +20,12 @@ Let the user select (via a new parameter) the path to the NFS state directory for mountd, to match the statd functionality. "Steinar H. Gunderson" + - fix nhfsrun signal: + nhfsrun is supposed to be able to be signalled with SIGUSR1, but + the signal trapped is number 30, which is something else + entirely (SIGPWR). This patch simply changes it to say "USR1", + which gets it right no matter what the value is. + "Steinar H. Gunderson" 2006-04-12 NeilBrown Remove **/Makefile.in, aclocal.m4, configure, and diff --git a/utils/nhfsstone/nhfsrun b/utils/nhfsstone/nhfsrun index a0ac0f8..ce77ace 100755 --- a/utils/nhfsstone/nhfsrun +++ b/utils/nhfsstone/nhfsrun @@ -46,7 +46,7 @@ INCR=10 # SIGUSR1 is used by nhfsstone to synchronize child processes. # nothing() { echo -n ""; } -trap nothing 30 +trap nothing USR1 rm -f $OUTFILE