aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/tlp/tlp-1.5.0.ebuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys-power/tlp/tlp-1.5.0.ebuild b/sys-power/tlp/tlp-1.5.0.ebuild
index 3ef6bd6d6..d2cc2f1fe 100644
--- a/sys-power/tlp/tlp-1.5.0.ebuild
+++ b/sys-power/tlp/tlp-1.5.0.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit udev
+inherit udev optfeature
DESCRIPTION="Optimize laptop battery life"
HOMEPAGE="https://linrunner.de/tlp/"
@@ -53,9 +53,8 @@ src_install() {
pkg_postinst() {
udev_reload
- elog "Consider installing these optional dependencies:"
- elog "- sys-apps/ethtool to allow disabling WoL"
- elog "- sys-apps/smartmontools for disk drive health info in tlp-stat"
+ optfeature "disable Wake-on-LAN" sys-apps/ethtool
+ optfeature "see disk drive health info in tlp-stat" sys-apps/smartmontools
}
pkg_postrm() {