diff options
Diffstat (limited to 'sys-fs/eudev/eudev-9999.ebuild')
-rw-r--r-- | sys-fs/eudev/eudev-9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-fs/eudev/eudev-9999.ebuild b/sys-fs/eudev/eudev-9999.ebuild index 7843c09354df..b57228497f3d 100644 --- a/sys-fs/eudev/eudev-9999.ebuild +++ b/sys-fs/eudev/eudev-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-9999.ebuild,v 1.45 2014/03/28 18:28:39 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/eudev/eudev-9999.ebuild,v 1.46 2014/03/28 19:06:38 axs Exp $ EAPI="5" @@ -268,7 +268,8 @@ pkg_postinst() ewarn "upgrade go into effect:" ewarn "\t/etc/init.d/udev --nodeps restart" - if use rule-generator && use openrc; then + if use rule-generator && use openrc && \ + [[ -x $(type -P rc-update) ]] && rc-update show | grep udev-postmount | grep -qsv 'boot\|default\|sysinit'; then ewarn ewarn "Please add the udev-postmount init script to your default runlevel" ewarn "to ensure the legacy rule-generator functionality works as reliably" |