mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-28 08:02:54 +00:00
ndc hardcodes 'named' instead of using $named_program from rc.conf
PR: 7425 Reviewed by: phk Submitted by: frf <frf@xocolatl.com>
This commit is contained in:
parent
e662741c24
commit
84a6914bd8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37982
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user