diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2014-03-28 19:06:46 +0000 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2014-03-28 19:06:46 +0000 |
commit | f404c795593c515766dde8d897f559e6c2d76519 (patch) | |
tree | 47aa2588ec13f3bd95f8ea7741c4c2a8e3ee8e40 /sys-fs/eudev/eudev-9999.ebuild | |
parent | Update multikey patch from upstream #504440#8 by Martin von Gagern. (diff) | |
download | historical-f404c795593c515766dde8d897f559e6c2d76519.tar.gz historical-f404c795593c515766dde8d897f559e6c2d76519.tar.bz2 historical-f404c795593c515766dde8d897f559e6c2d76519.zip |
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
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" |