commit 99642b1

hovercats  ·  2026-04-25 22:10:42 +0000 UTC
parent af36dbd
sleep for a day instead of doing wait $pid. this avoid high cpu usage
1 files changed,  +1, -1
M rcinit
M rcinit
+1, -1
1@@ -7,4 +7,4 @@ if (~ $pid 1) /etc/rc.init
2 if not exit 1
3 
4 # Wait forever, so the script doesnt exit by itself
5-while() wait $pid
6+while() sleep 86400