diff options
| author | Jose Luis Duran <jlduran@FreeBSD.org> | 2026-01-17 18:04:09 +0000 |
|---|---|---|
| committer | Jose Luis Duran <jlduran@FreeBSD.org> | 2026-01-17 18:04:09 +0000 |
| commit | 5345567935a229ae1a621a521596b89af59d081f (patch) | |
| tree | 87586e1a5659b0a83a913073df54ca8de2a32d14 | |
| parent | 6eccd84bee75d2db2bb2ce121ff745c843e94efe (diff) | |
nanobsd: Prefer tgt_dir2symlink() to create symlinks
Prefer tgt_dir2symlink() to create symlinks, as it has the benefit of
appending the entry to the metalog file.
Reviewed by: imp, emaste
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D48783
| -rwxr-xr-x | tools/tools/nanobsd/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh index 2307874fb75c..749a4bd785dc 100755 --- a/tools/tools/nanobsd/defaults.sh +++ b/tools/tools/nanobsd/defaults.sh @@ -549,7 +549,7 @@ setup_nanobsd() { # are installed by this point, but are later in the process, # the symlink not being here causes problems. It never hurts # to have the symlink in error though. - ln -sf ../../etc/local usr/local/etc + tgt_dir2symlink usr/local/etc ../../etc/local 0755 for d in var etc do |
