aboutsummaryrefslogtreecommitdiffstats
path: root/gentoo/files
diff options
context:
space:
mode:
authorPA4WDH2023-05-24 19:52:39 +0200
committerPA4WDH2023-05-24 19:52:39 +0200
commitba8f55db3afa36bd85b8887292aca11343f79d7d (patch)
tree04edd2cbb342193ebc4d38e80449deabc80936eb /gentoo/files
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/files')
-rwxr-xr-xgentoo/files/cputemp2maxfreq.init4
1 files changed, 4 insertions, 0 deletions
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
+}