From f404c795593c515766dde8d897f559e6c2d76519 Mon Sep 17 00:00:00 2001 From: Ian Stakenvicius Date: Fri, 28 Mar 2014 19:06:46 +0000 Subject: stopped udev-postmount message from showing unless it should, bug 492574 Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x2B6559ED --- sys-fs/eudev/eudev-9999.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys-fs/eudev/eudev-9999.ebuild') 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" -- cgit v1.2.3-65-gdbad