mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-28 14:31:40 +00:00
43 lines
741 B
Plaintext
43 lines
741 B
Plaintext
url=$mirror/busybox
|
|
|
|
# Fetch package
|
|
fetch() {
|
|
wget -c $url -O src/busybox
|
|
}
|
|
|
|
install() {
|
|
# Install package
|
|
pushd src/
|
|
chmod +x busybox
|
|
cp busybox $root/bin
|
|
pushd $root/bin
|
|
ln -s busybox addgroup
|
|
ln -s busybox adduser
|
|
ln -s busybox bzip2
|
|
ln -s busybox delgroup
|
|
ln -s busybox deluser
|
|
ln -s busybox diff
|
|
ln -s busybox du
|
|
ln -s busybox find
|
|
ln -s busybox fuser
|
|
ln -s busybox getty
|
|
ln -s busybox gzip
|
|
ln -s busybox hexdump
|
|
ln -s busybox ifconfig
|
|
ln -s busybox kbd_mode
|
|
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 telnet
|
|
ln -s busybox tftp
|
|
ln -s busybox tftpd
|
|
ln -s busybox top
|
|
ln -s busybox vi
|
|
ln -s busybox wget
|
|
popd
|
|
popd
|
|
}
|