busybox.sh (491B)
1 #!/bin/sh 2 3 # installs but don't enable runscripts for bb's applets 4 cp -ar etc/busybox $1 5 6 # install busybox applets as /usr/local/bin symlinks 7 for link in $(busybox --list) 8 do 9 test -n "$link" && ln -s /bin/busybox iso_dir/usr/local/bin/$link 10 done 11 12 # but since /usr/local/bin have higher priority than /usr/bin even for at least 13 # some rc.d scripts, remove some... 14 # TODO: I think this is actually a bug, should report it. 15 for exclude in run-parts 16 do 17 rm iso_dir/usr/local/bin/$exclude 18 done