mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 15:31:22 +00:00
57 lines
1.0 KiB
Plaintext
57 lines
1.0 KiB
Plaintext
url=$mirror/busybox
|
|
|
|
fetch() {
|
|
wget -c $url -O src/busybox
|
|
}
|
|
|
|
install() {
|
|
# Install package
|
|
pushd src/
|
|
chmod +x busybox
|
|
cp busybox $root/bin
|
|
pushd $root
|
|
ln -sf /bin/busybox init
|
|
popd
|
|
pushd $root/bin
|
|
ln -sf busybox addgroup
|
|
ln -sf busybox adduser
|
|
ln -sf getty agetty
|
|
ln -sf busybox awk
|
|
ln -sf busybox bzip2
|
|
ln -sf busybox delgroup
|
|
ln -sf busybox deluser
|
|
ln -sf busybox diff
|
|
ln -sf busybox dd
|
|
ln -sf busybox ed
|
|
ln -sf busybox expr
|
|
ln -sf busybox find
|
|
ln -sf busybox fsck
|
|
ln -sf busybox fuser
|
|
ln -sf busybox getty
|
|
ln -sf busybox gzip
|
|
ln -sf busybox hexdump
|
|
ln -sf busybox hwclock
|
|
ln -sf busybox ifconfig
|
|
ln -sf busybox kbd_mode
|
|
ln -sf busybox killall5
|
|
ln -sf busybox less
|
|
ln -sf busybox login
|
|
ln -sf busybox nc
|
|
ln -sf busybox passwd
|
|
ln -sf busybox ping
|
|
ln -sf busybox pkill
|
|
ln -sf busybox poweroff
|
|
ln -sf busybox reboot
|
|
ln -sf busybox sed
|
|
ln -sf busybox sysctl
|
|
ln -sf busybox tac
|
|
ln -sf busybox telnet
|
|
ln -sf busybox tftp
|
|
ln -sf busybox tftpd
|
|
ln -sf busybox top
|
|
ln -sf busybox vi
|
|
ln -sf busybox wget
|
|
popd
|
|
popd
|
|
}
|