diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-12 21:55:15 +0000 |
commit | 7218e1b46bceac05841e90472501742d905fb3fc (patch) | |
tree | 56fae051db521b8fce8014cbc8b11484885b14b3 /app-laptop/i8kutils/files | |
parent | 6d691ad5b6239929063441bbd14c489e92e7396e (diff) |
gentoo resync : 12.03.2021
Diffstat (limited to 'app-laptop/i8kutils/files')
-rw-r--r-- | app-laptop/i8kutils/files/i8kmon.init | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-laptop/i8kutils/files/i8kmon.init b/app-laptop/i8kutils/files/i8kmon.init new file mode 100644 index 000000000000..ed41a2a0a553 --- /dev/null +++ b/app-laptop/i8kutils/files/i8kmon.init @@ -0,0 +1,19 @@ +#!/sbin/openrc-run +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +depend() { + after modules +} + +command="/usr/bin/i8kmon" +command_args="--nouserconfig" +command_background=true +pidfile="/run/${RC_SVCNAME}.pid" + +start_pre() { + if [ ! -e /proc/i8k ]; then + eerror "The dell-smm-hwmon (i8k) driver is not loaded or installed" + return 1 + fi +} |