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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339413
@ -13,6 +13,7 @@ SUBDIR= ${_atf} \
|
|||||||
${_makewhatis.local} \
|
${_makewhatis.local} \
|
||||||
${_mknetid} \
|
${_mknetid} \
|
||||||
${_pppoed} \
|
${_pppoed} \
|
||||||
|
rc \
|
||||||
revnetgroup \
|
revnetgroup \
|
||||||
${_rlogind} \
|
${_rlogind} \
|
||||||
rpc.rquotad \
|
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
|
CONFDIR= /etc/rc.d
|
||||||
CONFGROUPS= CONFS
|
CONFGROUPS= CONFS
|
||||||
|
PACKAGE=rc
|
||||||
|
|
||||||
CONFS= DAEMON \
|
CONFS= DAEMON \
|
||||||
FILESYSTEMS \
|
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