1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-26 11:47:31 +00:00
freebsd/sbin/init
Edward Tomasz Napierala 335fe94f90 Add init_exec kenv(1) variable, to make init(8) execute a file
after opening the console, replacing init as PID 1.

From the user point of view, it makes it possible to run eg the
shell as PID 1, using 'set init_exec=/bin/sh' at the loader(8)
prompt.

Reviewed by:	kib
MFC after:	2 weeks
Relnotes:	yes
Sponsored by:	DARPA, AFRL
Differential Revision:	https://reviews.freebsd.org/D16625
2018-08-14 11:01:52 +00:00
..
rc.d dhclient: Don't chroot if we are in capability mode. 2018-08-06 16:22:01 +00:00
init.8 Add init_exec kenv(1) variable, to make init(8) execute a file 2018-08-14 11:01:52 +00:00
init.c Add init_exec kenv(1) variable, to make init(8) execute a file 2018-08-14 11:01:52 +00:00
Makefile Switch these to CONFS as well so they work with etcupdate/mergemaster. 2018-07-28 23:02:10 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
netstart Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
network.subr Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
NOTES
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
pccard_ether Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc.conf Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc.initdiskless Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc.resume Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc.shutdown Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc.subr Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00
rc.suspend Opps, I missed moving a couple of files in r336845. 2018-07-28 20:41:33 +00:00