Fix IOT bug via Makefile.inc, not ndc.sh.
authorkstailey <kstailey@openbsd.org>
Thu, 27 Feb 1997 18:36:49 +0000 (18:36 +0000)
committerkstailey <kstailey@openbsd.org>
Thu, 27 Feb 1997 18:36:49 +0000 (18:36 +0000)
usr.sbin/named/Makefile.inc
usr.sbin/named/ndc/ndc.sh

index 49eb866..5b8cf59 100644 (file)
@@ -8,7 +8,7 @@ VER!=           awk -F' *= *' '$$1 == "VER" { print $$2 ; exit }' \
 
 PIDDIR=                /var/run
 PS=            ps
-IOT=           IOT
+IOT=           ABRT
 
 CONFIG?=       -DUSE_OPTIONS_H
 INCLUDE?=      -I. -I${BIND_DIR} -I${BIND_DIR}/include
index 0149e83..402de9d 100644 (file)
@@ -41,7 +41,7 @@ do
        status) echo "$PS";;
        dumpdb) kill -INT $PID && echo Dumping Database;;
        reload) kill -HUP $PID && echo Reloading Database;;
-       stats)  kill -%ABRT% $PID && echo Dumping Statistics;;
+       stats)  kill -%IOT% $PID && echo Dumping Statistics;;
        trace)  kill -USR1 $PID && echo Trace Level Incremented;;
        notrace) kill -USR2 $PID && echo Tracing Cleared;;
        querylog|qrylog) kill -WINCH $PID && echo Query Logging Toggled;;