summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ndc/ndcedit.awk12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/ndc/ndcedit.awk b/usr.sbin/ndc/ndcedit.awk
index 1f47984b8d72..bbb9218f0884 100644
--- a/usr.sbin/ndc/ndcedit.awk
+++ b/usr.sbin/ndc/ndcedit.awk
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: ndcedit.awk,v 1.4 1997/02/22 16:08:19 peter Exp $
NR == 3 {
print "#"
print "# This file is generated automatically, do not edit it here!"
@@ -7,15 +7,15 @@ NR == 3 {
print ""
print "# If there is a global system configuration file, suck it in."
- print "if [ -f /etc/sysconfig ]; then"
- print "\t. /etc/sysconfig"
+ print "if [ -f /etc/rc.conf ]; then"
+ print "\t. /etc/rc.conf"
print "fi\n"
}
{
if ($1 == "named") {
- printf "\t\t# $namedflags is imported from /etc/sysconfig\n"
- printf "\t\tif [ \"X${namedflags}\" != \"XNO\" ]; then\n"
- printf "\t\t\tnamed ${namedflags} && {\n"
+ printf "\t\t# $namedflags is imported from /etc/rc.conf\n"
+ printf "\t\tif [ \"X${named_flags}\" != X\"NO\" ]; then\n"
+ printf "\t\t\tnamed ${named_flags} && {\n"
getline
printf "\t%s\n", $0
getline