mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-20 18:34:35 +00:00
Untested given requires specific hardware to even start the daemon which I do not have. Please report if any issues. Not worth revbumps, can let it propagate with rebuilds during kernel upgrades. Use /var/run rather than /run given nvidia hardcodes path to the pid file and /run may be incorrect if /var/run is not a symlink. Albeit with command_background=true openrc is technically the one handling it (may avoid duplicates, again can't test). Closes: https://bugs.gentoo.org/923117 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
11 lines
245 B
Text
11 lines
245 B
Text
#!/sbin/openrc-run
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description="Support for NVIDIA Dynamic Boost (only for use with specific laptops)"
|
|
command="nvidia-powerd"
|
|
command_background=true
|
|
pidfile="/var/run/nvidia-powerd.pid"
|
|
|
|
depend() {
|
|
need dbus
|
|
}
|