diff options
author | Roy Marples <roy@marples.name> | 2008-01-03 16:58:18 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-03 16:58:18 +0000 |
commit | aaa6577045120734dd54445485d49d2ccd54e8e7 (patch) | |
tree | 7f04c39419d0a45a2244f20086c65e768fc561a0 /sys-apps/openrc/openrc-9999.ebuild | |
parent | Brand OpenRC for Gentoo (diff) | |
download | uberlord-aaa6577045120734dd54445485d49d2ccd54e8e7.tar.gz uberlord-aaa6577045120734dd54445485d49d2ccd54e8e7.tar.bz2 uberlord-aaa6577045120734dd54445485d49d2ccd54e8e7.zip |
Add warning about the deprecated /etc/modules.autoload.d directory
Diffstat (limited to 'sys-apps/openrc/openrc-9999.ebuild')
-rw-r--r-- | sys-apps/openrc/openrc-9999.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild index a5cafac..f99ccd5 100644 --- a/sys-apps/openrc/openrc-9999.ebuild +++ b/sys-apps/openrc/openrc-9999.ebuild @@ -136,6 +136,11 @@ pkg_postinst() { cp -RPp "${ROOT}"usr/share/"${PN}"/runlevels "${ROOT}"/etc fi + if [ -d "${ROOT}"etc/modules.autoload.d ]; then + ewarn "${ROOT}etc/modules.autoload.d exists" + ewarn "This has been deprecated in favour of /etc/conf.d/modules" + fi + einfo "You should now update all files in /etc, using etc-update" einfo "or equivalent before restarting any services or this host." } |