commit 029994c

chld  ·  2025-12-22 17:50:46 +0000 UTC
parent 2017d83
setup-userland
1 files changed,  +8, -2
+8, -2
 1@@ -33,11 +33,17 @@ _inc '
 2 
 3 #######################################
 4 
 5-# enter toybox
 6+# enter toybox (hybrid cutils)
 7+# toybox - file management, reboot&friends
 8+# busybox - networking, fs management
 9 
10 wget \
11 	https://landley.net/toybox/bin/toybox-x86_64 \
12 	-O $m/bin/toybox
13 
14 chmod 755 $m/bin/toybox # ensure toybox is a executable
15-_swt toybox
16+
17+# linking!!
18+for i in ls mv cp rm mkdir ln unlink rmdir; do _swt toybox $i ; done
19+for i in tee touch cat less find; do _swt toybox $i ; done
20+for i in reboot poweroff halt; do _swt toybox $i ; done