aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-08 11:59:25 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-08 11:59:38 -0500
commit46a0bfedd14001bd6df2e3ca7b96261ddabdfb71 (patch)
tree36ac9a536fa35db0c76e1c086588323ff74e486a /scripts
parent803aa1c637c42352c05a520dbb02bee6c03ccf75 (diff)
build: fix symlinks
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/meson_script_links.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/meson_script_links.sh b/scripts/meson_script_links.sh
index dcb8f1d5..d49a433d 100755
--- a/scripts/meson_script_links.sh
+++ b/scripts/meson_script_links.sh
@@ -12,3 +12,8 @@ for f in $binaries; do
"${DESTDIR}${sbindir}/${f}"
fi
done
+# sysvinit is active when halt exits
+if [ -x "${DESTDIR}${rc_libexecdir}/bin/halt" ]; then
+ ln -snf "${DESTDIR}${sbindir}/openrc-init" \
+ "${DESTDIR}${sbindir}/init"
+fi