sys-auth/elogind: Re-add postinst info about dbus activation
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Aug 2018 16:41:35 +0000 (18:41 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 11 Aug 2018 16:43:59 +0000 (18:43 +0200)
This time as elog, not ewarn.

Bug: https://bugs.gentoo.org/633486

sys-auth/elogind/elogind-238.1.ebuild

index c9398ff2885acf67f85ab1e5623649f7d015c7da..cc148ee6f8da2d0c8234aacf8ace5d54f300b30f 100644 (file)
@@ -113,8 +113,17 @@ pkg_postinst() {
                ewarn "# rc-update del elogind default"
                ewarn "# rc-update add elogind boot"
        else
-               ewarn "elogind is currently not started from any runlevel."
-               ewarn "You may add it to the boot runlevel by:"
-               ewarn "# rc-update add elogind boot"
+               elog "elogind is currently not started from any runlevel."
+               elog "You may add it to the boot runlevel by:"
+               elog "# rc-update add elogind boot"
+               elog
+               elog "Alternatively, you can leave elogind out of any"
+               elog "runlevel. It will then be started automatically"
+               if use pam; then
+                       elog "when the first service calls it via dbus, or"
+                       elog "the first user logs into the system."
+               else
+                       elog "when the first service calls it via dbus."
+               fi
        fi
 }