From 20dbc272005b69903bb3c1c2a6623cf69084c111 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 5 Jun 2006 12:47:00 +1000 Subject: [PATCH] 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" --- ChangeLog | 8 +++++++- utils/nhfsstone/nhfsrun | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) 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 -- 2.39.5