mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-25 05:18:35 +00:00
54 lines
958 B
Plaintext
54 lines
958 B
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 -s bin/busybox init
|
|
popd
|
|
pushd $root/bin
|
|
ln -s busybox addgroup
|
|
ln -s busybox adduser
|
|
ln -s getty agetty
|
|
ln -s busybox bzip2
|
|
ln -s busybox delgroup
|
|
ln -s busybox deluser
|
|
ln -s busybox diff
|
|
ln -s busybox du
|
|
ln -s busybox dd
|
|
ln -s busybox ed
|
|
ln -s busybox find
|
|
ln -s busybox fsck
|
|
ln -s busybox fuser
|
|
ln -s busybox getty
|
|
ln -s busybox gzip
|
|
ln -s busybox hexdump
|
|
ln -s busybox hwclock
|
|
ln -s busybox ifconfig
|
|
ln -s busybox kbd_mode
|
|
ln -s busybox killall5
|
|
ln -s busybox less
|
|
ln -s busybox login
|
|
ln -s busybox nc
|
|
ln -s busybox passwd
|
|
ln -s busybox ping
|
|
ln -s busybox pkill
|
|
ln -s busybox poweroff
|
|
ln -s busybox reboot
|
|
ln -s busybox sysctl
|
|
ln -s busybox tac
|
|
ln -s busybox telnet
|
|
ln -s busybox tftp
|
|
ln -s busybox tftpd
|
|
ln -s busybox top
|
|
ln -s busybox vi
|
|
popd
|
|
popd
|
|
}
|