diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-08-10 12:24:03 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-08-10 15:36:39 +0000 |
| commit | 5467020a540d92a39dcabc149a264f3c0d0c084c (patch) | |
| tree | e9e6a8b064c30108858bac5cd2be35aecd269e00 /libexec | |
| parent | c8cf8d851cd4e9bd4add7f8dad22b53f3d2d923a (diff) | |
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rc/rc.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index d502361eca37..bfa46bd343a6 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -21,6 +21,7 @@ ############################################################## # Set default value of _localbase if not previously set +: ${_localbase:="$(/sbin/sysctl -n user.localbase 2> /dev/null)"} : ${_localbase:="/usr/local"} # rc_debug can't be set here without interferring with rc.subr's setting it |
