diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/meson_script_links.sh | 5 |
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 |