diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-24 16:39:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-24 16:39:08 +0000 |
commit | 66f58fdbc324c55b6396aca2f4f552671b0dfbb0 (patch) | |
tree | 6d5b0e3b34124fa38c3b98304181d8757f74f577 | |
parent | aaba7c14a0a9b592c618c57f0263b83af5685c72 (diff) |
sys-apps/openrc : make transition to sbin-openrc seamless
-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 } |