diff options
author | PA4WDH | 2023-05-24 19:52:39 +0200 |
---|---|---|
committer | PA4WDH | 2023-05-24 19:52:39 +0200 |
commit | ba8f55db3afa36bd85b8887292aca11343f79d7d (patch) | |
tree | 04edd2cbb342193ebc4d38e80449deabc80936eb /gentoo/files | |
parent | Fix typo in CSV header (diff) | |
download | cputemp2maxfreq-ba8f55db3afa36bd85b8887292aca11343f79d7d.tar.gz cputemp2maxfreq-ba8f55db3afa36bd85b8887292aca11343f79d7d.tar.bz2 cputemp2maxfreq-ba8f55db3afa36bd85b8887292aca11343f79d7d.zip |
Added restart delay in Gentoo initscript
Diffstat (limited to 'gentoo/files')
-rwxr-xr-x | gentoo/files/cputemp2maxfreq.init | 4 |
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 +} |