summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndc
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-05-27 07:19:57 +0000
committerjkh <jkh@FreeBSD.org>1997-05-27 07:19:57 +0000
commit91a45b85622a229c150a6d11b2fcdc96196dbda9 (patch)
tree5ba91f249e54c9291d3e433f8c882bd744ecb140 /usr.sbin/ndc
parentb45e72570f300d9aa6f9f474624301f7856804a7 (diff)
downloadFreeBSD-src-91a45b85622a229c150a6d11b2fcdc96196dbda9.zip
FreeBSD-src-91a45b85622a229c150a6d11b2fcdc96196dbda9.tar.gz
sysconfig -> rc.conf
Submitted by: Igor Vinokurov <igor@cs.ibank.ru>
Diffstat (limited to 'usr.sbin/ndc')
-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 1f47984..bbb9218 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
OpenPOWER on IntegriCloud