diff options
author | Mike Pechkin <mpech@cvs.openbsd.org> | 2003-01-24 15:56:19 +0000 |
---|---|---|
committer | Mike Pechkin <mpech@cvs.openbsd.org> | 2003-01-24 15:56:19 +0000 |
commit | 8cb3eba2df445463d52ba053ccbf0006495a2b85 (patch) | |
tree | 0ce925b3045e3c3dc6f5c50a7c28e696af0352de /usr.sbin | |
parent | e41ba033469aefb7f5344babf59d86a3eeb98dbf (diff) |
ndc doesn't start named if named_flags=NO in /etc/rc.conf
Fix it.
millert@ ok
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/named/ndc/ndc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/named/ndc/ndc.sh b/usr.sbin/named/ndc/ndc.sh index cdee868eb2a..e738189bd54 100644 --- a/usr.sbin/named/ndc/ndc.sh +++ b/usr.sbin/named/ndc/ndc.sh @@ -1,5 +1,5 @@ #!/bin/sh -# $OpenBSD: ndc.sh,v 1.11 1998/07/07 22:05:15 millert Exp $ +# $OpenBSD: ndc.sh,v 1.12 2003/01/24 15:56:18 mpech Exp $ USAGE='echo \ "usage: $0 \ @@ -26,7 +26,7 @@ if [ -r /etc/rc.conf ]; then fi NAMED_FLAGS=`. /etc/rc.conf ; echo "$named_flags"` - if [ "X${NAMED_FLAGS}" != "X" ]; then + if [ "X${NAMED_FLAGS}" != X"NO" ]; then NAMED_CMD="${NAMED_CMD} ${NAMED_FLAGS}" fi else |