commit 6cac83d

chld  ·  2026-08-27 22:30:02 +0000 UTC
parent cf02205
sit: some fixes
1 files changed,  +3, -3
M sit
M sit
+3, -3
 1@@ -1,5 +1,5 @@
 2 #!/bin/sh
 3-# /bin/situation — dèrive init and service manager
 4+# /bin/situation: derive init and service manager
 5 
 6 PATH='/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin'
 7 export PATH
 8@@ -178,7 +178,7 @@ if command -v getty >/dev/null 2>&1; then
 9     (
10         while :; do
11             setsid getty -L 38400 tty2 2>&1
12-            sleep 1  # prevent rapid respawn on persistent failure
13+            sleep 0.5  # prevent rapid respawn on persistent failure
14         done
15     ) &
16 else
17@@ -224,7 +224,7 @@ shutdown_system() {
18     case $act in
19     	reboot) echo 'cya soon' ; reboot -f ;;
20     	poweroff) echo 'bye' ; poweroff -f ;;
21-    	halt) echo 'bye' ; halt -f ;;
22+    	halt) echo 'bye damn' ; halt -f ;;
23     esac
24 }
25