diff options
author | jkh <jkh@FreeBSD.org> | 1997-06-18 01:55:19 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-06-18 01:55:19 +0000 |
commit | 11e41c0eef91d9b8fdbd8fb25795be915b29414f (patch) | |
tree | 2311e30b2f7b76c2fc34c0fc67db28203c09e680 /usr.sbin/ndc | |
parent | 58389eea9e84d5e0c70c01855b3fcaae96853393 (diff) | |
download | FreeBSD-src-11e41c0eef91d9b8fdbd8fb25795be915b29414f.zip FreeBSD-src-11e41c0eef91d9b8fdbd8fb25795be915b29414f.tar.gz |
Check named_enable rather than just named_flags.
PR: 3893 (sort of)
Diffstat (limited to 'usr.sbin/ndc')
-rw-r--r-- | usr.sbin/ndc/ndcedit.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ndc/ndcedit.awk b/usr.sbin/ndc/ndcedit.awk index bbb9218..8074819 100644 --- a/usr.sbin/ndc/ndcedit.awk +++ b/usr.sbin/ndc/ndcedit.awk @@ -1,4 +1,4 @@ -# $Id: ndcedit.awk,v 1.4 1997/02/22 16:08:19 peter Exp $ +# $Id: ndcedit.awk,v 1.5 1997/05/27 07:19:57 jkh Exp $ NR == 3 { print "#" print "# This file is generated automatically, do not edit it here!" @@ -13,8 +13,8 @@ NR == 3 { } { if ($1 == "named") { - printf "\t\t# $namedflags is imported from /etc/rc.conf\n" - printf "\t\tif [ \"X${named_flags}\" != X\"NO\" ]; then\n" + printf "\t\t# $named_flags is imported from /etc/rc.conf\n" + printf "\t\tif [ \"X${named_enable}\" = X\"YES\" ]; then\n" printf "\t\t\tnamed ${named_flags} && {\n" getline printf "\t%s\n", $0 |