| #
779812d6 |
| 14-Sep-2025 |
Jilles Tjoelker <jilles@FreeBSD.org> |
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
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
show more ...
|
|
Revision tags: release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2, release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2, release/14.3.0, release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
fcfa6480 |
| 26-Oct-2021 |
Ka Ho Ng <khng@FreeBSD.org> |
sh: Set PATH envvar after setting HOME in dotfile
In single-user mode, all env vars are absent, so exptilde() would not be able to expand ~ correctly. Place the lines setting PATH below HOME, so exp
sh: Set PATH envvar after setting HOME in dotfile
In single-user mode, all env vars are absent, so exptilde() would not be able to expand ~ correctly. Place the lines setting PATH below HOME, so exptilde() would work as expected.
Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: jilles, emaste Differential Revision: https://reviews.freebsd.org/D27003
show more ...
|
|
Revision tags: release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
7e565c55 |
| 30-Jan-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r343320 through r343570.
|
| #
60315f8f |
| 25-Jan-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Install .shrc for root, and set PS1 for the toor account.
Reviewed by: jilles MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18872
|
|
Revision tags: release/12.0.0 |
|
| #
da2d1e9d |
| 29-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338298 through r338391.
|
| #
94ec7ec7 |
| 29-Aug-2018 |
Brad Davis <brd@FreeBSD.org> |
Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/.
Approved by: re (gjb), will (mentor) Differential Revision: https://reviews.freebsd.org/D16770
|
| #
b26c7f7f |
| 15-Aug-2018 |
Brad Davis <brd@FreeBSD.org> |
Move all sh and csh files into bin/sh/ or bin/csh/
This simplifies pkgbase by migrating these to CONFS so they are properly tagged as config files.
Approved by: will (mentor) Differential Revision:
Move all sh and csh files into bin/sh/ or bin/csh/
This simplifies pkgbase by migrating these to CONFS so they are properly tagged as config files.
Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16708
show more ...
|