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/Manifest | 2 +- gentoo/files/cputemp2maxfreq.init | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gentoo/Manifest b/gentoo/Manifest index 6f6f654..d00a574 100644 --- a/gentoo/Manifest +++ b/gentoo/Manifest @@ -1,4 +1,4 @@ AUX cputemp2maxfreq.conf 257 BLAKE2B 755cbb51b68ae772cf413a9be1b928a350ef962b07dcfd4fd06c938238c35ae6bf8f8e0010103a6383bd1bb1ba23d2c06efcf3dc7490f4fa045f3943b1fc3837 SHA512 ada678f8ab5e6aabeb246cb49c2ab1da26cee2204b353aff4db537621176d57367474864d491da846c83973769affd135fafc45f5fc11df49e418ace6268b5ab -AUX cputemp2maxfreq.init 488 BLAKE2B 1182dca7ab323c31757a8b67fb672fbce62369a50b4d20ea93abe8c138c58b517ba44af59f33831b1ae55d34f2b5939970002522b37ba7f37e8f665c04340fa6 SHA512 36714ee8faaa479729b2d9902e6a1310c7a47686e70f351c97ae68eb0557246801d0715f2cb885f70ebd8888b7639eaa8c0e14f889430b419a158b59c7176de1 +AUX cputemp2maxfreq.init 489 BLAKE2B 3bea559525195bb76f414cfda236b9c30bd73a765d84ac5f0297c399a4f644d3ae242331d0c65493cfc358cd8d5662a0a26f07cf875e6963dd018801a66ee4a5 SHA512 27d03b59626fea61c556a3240cb58fd5350c3611aece91c7deaa5973fe12f0a3a776dcc2ccfd5fd638538050b98a97b609f3be1302aa758eec13dc24ba2b7415 DIST cputemp2maxfreq-0.2.tar.gz 8860 BLAKE2B df852d62988b7c6a46e227eb8e0ec5c885b62f49d4edd39d7cb7bae09935ba672a254c7178d0b70c0ea91cf5163c9f248214c2e1edd4c77e2ed7894d2a81a021 SHA512 a895197c247e45b85bfa7ae635995dcb46a1e4b0bae0c5fda3a96500c571eb7e1cf75c265b9c863e733bd3e31a424427d5069e49e136865e1835177710122234 EBUILD cputemp2maxfreq-0.2.ebuild 900 BLAKE2B 9895b48ca99dc01002e1e3c211951bb7ab9b33cfdab4ab24f318ce79f28985f482f7c81111c0a17d6465b9b37b3a7e6ed049ba6255a72995b4203543040783ab SHA512 63b815138db3ebf0f21c06f2d5820ea238bb743c3d12aa61ebd2b60d3b31b5fd06aaf1c83343646899c21feeb9fe30fd2adad8ff912c420043ce7fa228aefaf2 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