Files
src/bin
Jilles Tjoelker 779812d669 init: Use root's home directory in single-user mode
When starting single-user mode, use the home directory from user root as
current directory and for the HOME environment variable. If the
directory does not exist, set HOME=/.

Also adjust /root/.profile to stop setting HOME, since it should always
have been set now.

This is intended to keep shell startup files working in single-user mode
after /.profile has been removed.

Reviewed by:	emaste, ivy, kevans
MFC after:	1 week
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D52527
2025-09-16 22:36:41 +02:00
..
2025-09-16 15:38:26 +02:00
2025-09-01 18:51:45 +02:00
2025-06-20 22:24:10 +00:00
2025-04-15 19:57:52 +02:00
2024-10-14 10:26:17 -07:00
2024-10-14 10:26:17 -07:00