aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/Makefile
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2018-10-17 16:49:11 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2018-10-17 16:49:11 +0000
commit0696600c41600d80bcd993bfd8e675d0ae6951fe (patch)
tree45a1b1b869fe29f26dc2cb4978b509ba9a74e706 /libexec/rc/Makefile
parent6f65800cbbb453c18a098f0e14bff8dc5818aa93 (diff)
downloadsrc-0696600c41600d80bcd993bfd8e675d0ae6951fe.tar.gz
src-0696600c41600d80bcd993bfd8e675d0ae6951fe.zip
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)
Notes
Notes: svn path=/head/; revision=339413
Diffstat (limited to 'libexec/rc/Makefile')
-rw-r--r--libexec/rc/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/libexec/rc/Makefile b/libexec/rc/Makefile
new file mode 100644
index 000000000000..bcca7f33a490
--- /dev/null
+++ b/libexec/rc/Makefile
@@ -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>