[nsd-users] nsdc notify - problem
John Lightsey
jd at cpanel.net
Tue Dec 30 20:46:29 UTC 2008
On Dec 30, 2008, at 12:10 PM, Lew Payne wrote:
> Hello fellow NSD users,
>
> For NSD version 3.2.0, running on FreeBSD 6.4-REL, I get the following
> error when trying to do a notify via the cli...
>
> sys1# nsdc notify
> Sending notify to slave servers...
> test: unexpected operator
> test: unexpected operator
> test: unexpected operator
> ... etc...
>
> Can someone clue me in as to what's going on here?
Looks like bashisms in nsdc. There are several lines like this:
if test "" == "${local_ifc}"; then
That should be written like this:
if test "" = "${local_ifc}"; then
You should probably submit a bug report:
http://www.nlnetlabs.nl/bugs/
And you can work around it by changing the first line of nsdc to:
#!/bin/bash
More information about the nsd-users
mailing list