linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.51k stars 129 forks source link

portable timeout for flock #740

Closed icebarf closed 2 months ago

icebarf commented 2 months ago

Busybox flock does not support the -w option, and as such initialising tlp fails on systems using busybox utils. What I've done is use the timeout command instead of relying on flock itself.

I believe using portable options is the way to go.

linrunner commented 2 months ago

Thank you for the insight.

nero commented 3 weeks ago

Previous issue with busybox flock: #475

@linrunner Is the stance on busybox support up to date? Last time we had to fix this downstream.

linrunner commented 2 weeks ago

@nero: The change will be released with 1.7. Please test with busybox beforehand, I can't do it myself.