mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-28 03:42:04 +01:00
sysconfig -> rc.conf
Submitted by: Igor Vinokurov <igor@cs.ibank.ru>
This commit is contained in:
parent
fbd31922cd
commit
5df075e4ed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26191
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user