diff options
author | jkh <jkh@FreeBSD.org> | 1997-05-27 07:19:57 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1997-05-27 07:19:57 +0000 |
commit | 91a45b85622a229c150a6d11b2fcdc96196dbda9 (patch) | |
tree | 5ba91f249e54c9291d3e433f8c882bd744ecb140 /usr.sbin/ndc | |
parent | b45e72570f300d9aa6f9f474624301f7856804a7 (diff) | |
download | FreeBSD-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.awk | 12 |
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 |