patch on nsdc.sh to adapt FreeBSD 5.4

Koh-ichi Ito kohi at iri.co.jp
Wed Oct 4 06:28:35 UTC 2006


Hello,

# I'm identical person who reports bug #146. I transferred
# my company, so E-mail address has changed.

On my lab machine with FreeBSD 5.4, nsdc requires the
following patch or I got the message like

type95# /u1/nsd-3.0.1/sbin/nsdc notify
Sending notify to slave servers...
0: not found
2: not found

kohi at alphonse[3]% diff -c nsd-3.0.1-local/nsdc.sh.in-dist nsd-3.0.1-local/nsdc.sh.in
*** nsd-3.0.1-local/nsdc.sh.in-dist	Mon Sep  4 17:20:58 2006
--- nsd-3.0.1-local/nsdc.sh.in	Wed Oct  4 15:20:22 2006
***************
*** 137,143 ****
  	fi
  	update_sent="no"
  
! 	while (($# > 0)); do
  		ip_spec=$1
  		key_spec=$2
  		shift 2
--- 137,143 ----
  	fi
  	update_sent="no"
  
! 	while test $# -gt 0; do
  		ip_spec=$1
  		key_spec=$2
  		shift 2
***************
*** 170,176 ****
  send_notify() {
  	local zonename=$1
  	shift
! 	while (($# > 0)); do
  		ip_spec=$1
  		key_spec=$2
  		shift 2
--- 170,176 ----
  send_notify() {
  	local zonename=$1
  	shift
! 	while test $# -gt 0; do
  		ip_spec=$1
  		key_spec=$2
  		shift 2
kohi at alphonse[4]% 


Thanks

		  					Koh-ichi Ito
					Internet Research Institute, Inc.



More information about the nsd-users mailing list