From 9aab959cd86d08f88712477c31247e78af89b552 Mon Sep 17 00:00:00 2001
From: PA4WDH
Date: Wed, 24 May 2023 19:20:35 +0200
Subject: Small fixes in Gentoo init script

---
 gentoo/files/cputemp2maxfreq.init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'gentoo/files')

diff --git a/gentoo/files/cputemp2maxfreq.init b/gentoo/files/cputemp2maxfreq.init
index 83a3798..7b05c6d 100755
--- a/gentoo/files/cputemp2maxfreq.init
+++ b/gentoo/files/cputemp2maxfreq.init
@@ -5,10 +5,10 @@
 name="cputemp2maxfreq daemon"
 description="Daemon to scale scale_max_freq when CPU temperature rises"
 command=/usr/sbin/cputemp2maxfreq
-command_args="-l $LOGGER -t $TEMPERATURE $ARGS"
+command_args="-l $LOGGER -t $TEMPERATURE $OTHER"
 
 start() {
-	ebegin "Starting $NAME"
+	ebegin "Starting $name"
 	start-stop-daemon --start --background \
 	--make-pidfile --pidfile /var/run/cputemp2maxfreq.pid \
 	--exec ${command} -- ${command_args}
-- 
cgit v1.2.3