summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/sysvinit')
-rw-r--r--sys-apps/sysvinit/sysvinit-2.89-r1.ebuild (renamed from sys-apps/sysvinit/sysvinit-2.89.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-apps/sysvinit/sysvinit-2.89.ebuild b/sys-apps/sysvinit/sysvinit-2.89-r1.ebuild
index 8b137cdc498e..8e44ac619eda 100644
--- a/sys-apps/sysvinit/sysvinit-2.89.ebuild
+++ b/sys-apps/sysvinit/sysvinit-2.89-r1.ebuild
@@ -105,6 +105,9 @@ pkg_postinst() {
# This is really needed, as without the new version of init cause init
# not to quit properly on reboot, and causes a fsck of / on next reboot.
if [[ ${ROOT} == / ]] ; then
+ if [[ -e /dev/initctl && ! -e /run/initctl ]]; then
+ ln -s /dev/initctl /run/initctl
+ fi
# Do not return an error if this fails
/sbin/telinit U &>/dev/null
fi