commit af36dbd

hovercats  ·  2025-03-10 05:04:17 +0000 UTC
parent 4766a06
use internal test instead of external
1 files changed,  +1, -1
M rcinit
M rcinit
+1, -1
1@@ -3,7 +3,7 @@
2 flag e +
3 
4 # Check if PID is 1
5-if (test $pid -eq 1) /etc/rc.init 
6+if (~ $pid 1) /etc/rc.init 
7 if not exit 1
8 
9 # Wait forever, so the script doesnt exit by itself