From 184de04dd4f2599ca2d04502195f12737527f13d Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 12 May 2016 17:19:10 -0500 Subject: [PATCH] sys-apps/openrc: install default "nonetwork" runlevel Package-Manager: portage-2.2.28 --- sys-apps/openrc/openrc-9999.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index 5c100869fe66..f4ba4dc21db2 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -280,6 +280,13 @@ pkg_postinst() { fi fi + # Added for 0.21 + if [[ ! -e "${EROOT}"etc/runlevels/nonetwork ]]; then + einfo "copying default nonetwork runlevel" + cp -RPp "${EROOT}"usr/share/${PN}/runlevels/nonetwork \ + "${EROOT}"etc/runlevels + fi + if use hppa; then elog "Setting the console font does not work on all HPPA consoles." elog "You can still enable it by running:" -- 2.26.2