summaryrefslogtreecommitdiff
path: root/x11-drivers/nvidia-drivers/files/nvidia-powerd.initd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-12 02:11:25 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-12 02:11:25 +0100
commite2d2360e108ac340994ea1464c684fa96382c3e1 (patch)
treec38a6c2d3239c73ebfe4c056d98bc3c9a1d1e513 /x11-drivers/nvidia-drivers/files/nvidia-powerd.initd
parent3c171c04336e3aebae12c218895ae73068b35ac8 (diff)
x11-drivers/nvidia-drivers : version bump, port to EAPI 8, resync with Gentoo
Diffstat (limited to 'x11-drivers/nvidia-drivers/files/nvidia-powerd.initd')
-rw-r--r--x11-drivers/nvidia-drivers/files/nvidia-powerd.initd11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-drivers/nvidia-drivers/files/nvidia-powerd.initd b/x11-drivers/nvidia-drivers/files/nvidia-powerd.initd
new file mode 100644
index 00000000..5132a20c
--- /dev/null
+++ b/x11-drivers/nvidia-drivers/files/nvidia-powerd.initd
@@ -0,0 +1,11 @@
+#!/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
+}