aboutsummaryrefslogtreecommitdiffstats
path: root/gentoo/files/cputemp2maxfreq.init
diff options
context:
space:
mode:
authorPA4WDH2023-05-24 19:20:35 +0200
committerPA4WDH2023-05-24 19:20:35 +0200
commit9aab959cd86d08f88712477c31247e78af89b552 (patch)
tree4c9c4022025d2b71dddc3c3bee0439815fa891a6 /gentoo/files/cputemp2maxfreq.init
parentUpdate homepage in Gentoo ebuild (diff)
downloadcputemp2maxfreq-9aab959cd86d08f88712477c31247e78af89b552.tar.gz
cputemp2maxfreq-9aab959cd86d08f88712477c31247e78af89b552.tar.bz2
cputemp2maxfreq-9aab959cd86d08f88712477c31247e78af89b552.zip
Small fixes in Gentoo init script
Diffstat (limited to 'gentoo/files/cputemp2maxfreq.init')
-rwxr-xr-xgentoo/files/cputemp2maxfreq.init4
1 files changed, 2 insertions, 2 deletions
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}