summaryrefslogtreecommitdiff
path: root/sys-apps
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps')
-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