commit 24806d0

chld  ·  2026-09-21 20:10:38 +0000 UTC
parent a2e3d3f
link reboot command
1 files changed,  +5, -2
+5, -2
 1@@ -35,11 +35,14 @@ _inc '
 2 
 3 # now busybox is out of the way, make init symlinks
 4 
 5-for i in bin sbin
 6+for i in bin sbin 'usr/bin' 'usr/sbin'
 7 do
 8     ln -sf $m/bin/sit $m/$i/init
 9 done
10 for i in poweroff halt
11 do
12-    ln -sf $m/bin/reboot $m/bin/$i
13+    for j in bin sbin 'usr/bin' 'usr/sbin'
14+    do
15+	ln -sf $m/bin/reboot $m/$j/$i
16+    done
17 done