aboutsummaryrefslogtreecommitdiffstats
path: root/gentoo
diff options
context:
space:
mode:
authorPA4WDH2023-05-24 19:52:39 +0200
committerPA4WDH2023-05-24 19:52:39 +0200
commitba8f55db3afa36bd85b8887292aca11343f79d7d (patch)
tree04edd2cbb342193ebc4d38e80449deabc80936eb /gentoo
parentFix typo in CSV header (diff)
downloadcputemp2maxfreq-ba8f55db3afa36bd85b8887292aca11343f79d7d.tar.gz
cputemp2maxfreq-ba8f55db3afa36bd85b8887292aca11343f79d7d.tar.bz2
cputemp2maxfreq-ba8f55db3afa36bd85b8887292aca11343f79d7d.zip
Added restart delay in Gentoo initscript
Diffstat (limited to 'gentoo')
-rw-r--r--gentoo/Manifest2
-rwxr-xr-xgentoo/files/cputemp2maxfreq.init4
2 files changed, 5 insertions, 1 deletions
diff --git a/gentoo/Manifest b/gentoo/Manifest
index d00a574..13d9dd7 100644
--- a/gentoo/Manifest
+++ b/gentoo/Manifest
@@ -1,4 +1,4 @@
AUX cputemp2maxfreq.conf 257 BLAKE2B 755cbb51b68ae772cf413a9be1b928a350ef962b07dcfd4fd06c938238c35ae6bf8f8e0010103a6383bd1bb1ba23d2c06efcf3dc7490f4fa045f3943b1fc3837 SHA512 ada678f8ab5e6aabeb246cb49c2ab1da26cee2204b353aff4db537621176d57367474864d491da846c83973769affd135fafc45f5fc11df49e418ace6268b5ab
-AUX cputemp2maxfreq.init 489 BLAKE2B 3bea559525195bb76f414cfda236b9c30bd73a765d84ac5f0297c399a4f644d3ae242331d0c65493cfc358cd8d5662a0a26f07cf875e6963dd018801a66ee4a5 SHA512 27d03b59626fea61c556a3240cb58fd5350c3611aece91c7deaa5973fe12f0a3a776dcc2ccfd5fd638538050b98a97b609f3be1302aa758eec13dc24ba2b7415
+AUX cputemp2maxfreq.init 555 BLAKE2B 2a3085a8b04c2b11dba79e2a710fbeced162009b4461e8837762d13964c030476626ecf6812cf9931e95d7c559804fd04e21357a8c1ddaed6d07be29d5fb6c0d SHA512 8b8c41e96864a02e23ca53cacb153c6968418bdc003a2e5f6fbe3040c868dc43ea230b1492fbe437bef941d1ed911ed22a4d9963cdb33688cdd543f7e7240c77
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 7b05c6d..aa2b846 100755
--- a/gentoo/files/cputemp2maxfreq.init
+++ b/gentoo/files/cputemp2maxfreq.init
@@ -15,3 +15,7 @@ start() {
eend $?
}
+start_pre() {
+ [ "${RC_CMD}" = "restart" ] && sleep 1
+ return 0
+}