Move the rc framework out of sbin/init into libexec/rc.
The reasons for this are forward looking to pkgbase: * /sbin/init is a special binary; try not to replace it with every package update because an rc script was touched. (a follow-up commit will make init its own package) * having rc in its own place will allow more easy replacement of the rc framework with alternatives, such as openrc. Discussed with: brd (during BSDCam), kmoore Requested by: cem, bz PR: 231522 Approved by: re (gjb)
This commit is contained in:
parent
6f65800cbb
commit
0696600c41
@ -13,6 +13,7 @@ SUBDIR= ${_atf} \
|
||||
${_makewhatis.local} \
|
||||
${_mknetid} \
|
||||
${_pppoed} \
|
||||
rc \
|
||||
revnetgroup \
|
||||
${_rlogind} \
|
||||
rpc.rquotad \
|
||||
|
16
libexec/rc/Makefile
Normal file
16
libexec/rc/Makefile
Normal file
@ -0,0 +1,16 @@
|
||||
# $FreeBSD$
|
||||
|
||||
CONFGROUPS= CONFETC CONFETCEXEC CONFETCDEFAULTS
|
||||
CONFETCDIR= /etc
|
||||
CONFETC= network.subr rc rc.initdiskless rc.subr rc.shutdown
|
||||
CONFETCMODE= 644
|
||||
CONFETCEXEC= netstart pccard_ether rc.resume rc.suspend
|
||||
CONFETCEXECDIR= /etc
|
||||
CONFETCEXECMODE= 755
|
||||
CONFETCDEFAULTSDIR= /etc/defaults
|
||||
CONFETCDEFAULTS= rc.conf
|
||||
PACKAGE=rc
|
||||
|
||||
SUBDIR+= rc.d
|
||||
|
||||
.include <bsd.prog.mk>
|
@ -4,6 +4,7 @@
|
||||
|
||||
CONFDIR= /etc/rc.d
|
||||
CONFGROUPS= CONFS
|
||||
PACKAGE=rc
|
||||
|
||||
CONFS= DAEMON \
|
||||
FILESYSTEMS \
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user