summaryrefslogtreecommitdiff
path: root/sys-apps/openrc/openrc-0.34.11-r4.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-09 08:53:46 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-09 08:53:46 +0000
commitd679252ce1ced462215731c5a56badeddba34cbf (patch)
treeeb93c38e2ce2b11e08cb7cb1ec8ef04a9608e67f /sys-apps/openrc/openrc-0.34.11-r4.ebuild
parent6ca123c0fee96f65a612adb0074477ebdf6f4bad (diff)
sys-apps/openrc : final adjustments
Diffstat (limited to 'sys-apps/openrc/openrc-0.34.11-r4.ebuild')
-rw-r--r--sys-apps/openrc/openrc-0.34.11-r4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-apps/openrc/openrc-0.34.11-r4.ebuild b/sys-apps/openrc/openrc-0.34.11-r4.ebuild
index 413a422e..367620b7 100644
--- a/sys-apps/openrc/openrc-0.34.11-r4.ebuild
+++ b/sys-apps/openrc/openrc-0.34.11-r4.ebuild
@@ -350,13 +350,15 @@ pkg_postinst() {
#2 : move dbus service to boot runlevel
if [ -e "${ROOT}"etc/init.d/dbus ] && use elogind; then
if [ "$(rc-config list boot | grep dbus)" != "" ]; then
- ewarn "found dbus service in boot runlevel, skiping"
ewarn
+ ewarn "found dbus service in boot runlevel, skiping"
elif [ "$(rc-config list default | grep dbus)" != "" ]; then
ewarn "found dbus service in default runlevel, moving"
- ewarn
"${ROOT}"sbin/rc-update del dbus default
"${ROOT}"sbin/rc-update add dbus boot
+ else
+ ewarn "not found dbus service in boot runlevel, enabling"
+ "${ROOT}"sbin/rc-update add dbus boot
fi
fi