etc: create default rc.conf
Before now, /etc/rc.conf was created by the build system from multiple rc.conf.* file fragments and there was no reason for this.
This commit is contained in:
		@@ -1,10 +1,8 @@
 | 
			
		||||
DIR=	${SYSCONFDIR}
 | 
			
		||||
SRCS=	rc.conf.in rc.in rc.shutdown.in
 | 
			
		||||
SRCS=	rc.in rc.shutdown.in
 | 
			
		||||
BIN=	${BIN-${OS}}
 | 
			
		||||
CONF=	rc.conf ${BIN-${OS}}
 | 
			
		||||
 | 
			
		||||
CLEANFILES+=	rc.conf
 | 
			
		||||
 | 
			
		||||
MK=	../mk
 | 
			
		||||
include ${MK}/os.mk
 | 
			
		||||
 | 
			
		||||
@@ -23,6 +21,3 @@ CONF-NetBSD=
 | 
			
		||||
SED_EXTRA=	${SED_EXTRA-${OS}}
 | 
			
		||||
 | 
			
		||||
include ${MK}/scripts.mk
 | 
			
		||||
 | 
			
		||||
rc.conf: rc.conf.in rc.conf.${OS}
 | 
			
		||||
	${SED} ${SED_REPLACE} ${SED_EXTRA} $^ > $@
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user