summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/openrc/openrc-0.42.1-r2.ebuild (renamed from sys-apps/openrc/openrc-0.42.1-r1.ebuild)8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-0.42.1-r1.ebuild b/sys-apps/openrc/openrc-0.42.1-r2.ebuild
index cf078f96..c44be165 100644
--- a/sys-apps/openrc/openrc-0.42.1-r1.ebuild
+++ b/sys-apps/openrc/openrc-0.42.1-r2.ebuild
@@ -241,4 +241,12 @@ pkg_postinst() {
"${ROOT}"/sbin/rc-update add haveged default
fi
fi
+
+ if use sysv-utils; then
+ export local xtty
+ for xtty in `seq 1 6`; do
+ ln -s "${ROOT}"/etc/init.d/agetty "${ROOT}"/etc/init.d/agetty.tty"${xtty}"
+ "${ROOT}"/sbin/rc-update add agetty.tty"${xtty}" default
+ done
+ fi
}