summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2016-05-12 17:19:10 -0500
committerWilliam Hubbs <williamh@gentoo.org>2016-05-12 17:19:10 -0500
commit184de04dd4f2599ca2d04502195f12737527f13d (patch)
tree76679a3efda02c74464aadb5df56e16cd469c682
parentmail-mta/msmtp: version bump to 1.6.4 (diff)
downloadgentoo-184de04dd4f2599ca2d04502195f12737527f13d.tar.gz
gentoo-184de04dd4f2599ca2d04502195f12737527f13d.tar.bz2
gentoo-184de04dd4f2599ca2d04502195f12737527f13d.zip
sys-apps/openrc: install default "nonetwork" runlevel
Package-Manager: portage-2.2.28
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild7
1 files changed, 7 insertions, 0 deletions
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:"