From 84a6914bd88cbaee85d5a75dc494f8f6e7783a40 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 31 Jul 1998 08:47:16 +0000 Subject: [PATCH] ndc hardcodes 'named' instead of using $named_program from rc.conf PR: 7425 Reviewed by: phk Submitted by: frf --- usr.sbin/ndc/ndcedit.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ndc/ndcedit.awk b/usr.sbin/ndc/ndcedit.awk index 67b45fe83c5d..241416b7464d 100644 --- a/usr.sbin/ndc/ndcedit.awk +++ b/usr.sbin/ndc/ndcedit.awk @@ -1,4 +1,4 @@ -# $Id: ndcedit.awk,v 1.6 1997/06/18 01:55:19 jkh Exp $ +# $Id: ndcedit.awk,v 1.7 1998/05/03 05:14:04 peter Exp $ NR == 3 { print "#" print "# This file is generated automatically, do not edit it here!" @@ -15,7 +15,7 @@ NR == 3 { if ($1 == "named") { 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" + printf "\t\t\t${named_program} ${named_flags} && {\n" getline printf "\t%s\n", $0 getline