2013-09-06 08:31:51 +00:00
|
|
|
url=$mirror/busybox
|
2013-09-05 12:28:34 +00:00
|
|
|
|
|
|
|
# Fetch package
|
2013-09-06 08:31:51 +00:00
|
|
|
fetch() {
|
|
|
|
wget -c $url -O src/busybox
|
|
|
|
}
|
2013-09-05 12:28:34 +00:00
|
|
|
|
2013-09-06 08:31:51 +00:00
|
|
|
install() {
|
|
|
|
# Install package
|
|
|
|
pushd src/
|
|
|
|
chmod +x busybox
|
|
|
|
cp busybox $root/bin
|
|
|
|
pushd $root/bin
|
2013-09-06 12:34:40 +00:00
|
|
|
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
|
2013-09-06 08:31:51 +00:00
|
|
|
ln -s busybox getty
|
2013-09-06 12:34:40 +00:00
|
|
|
ln -s busybox gzip
|
|
|
|
ln -s busybox hexdump
|
|
|
|
ln -s busybox ifconfig
|
|
|
|
ln -s busybox kbd_mode
|
|
|
|
ln -s busybox less
|
2013-09-06 08:31:51 +00:00
|
|
|
ln -s busybox login
|
2013-09-06 12:34:40 +00:00
|
|
|
ln -s busybox nc
|
|
|
|
ln -s busybox passwd
|
2013-09-06 08:31:51 +00:00
|
|
|
ln -s busybox ping
|
2013-09-06 09:16:53 +00:00
|
|
|
ln -s busybox pkill
|
2013-09-06 12:34:40 +00:00
|
|
|
ln -s busybox telnet
|
|
|
|
ln -s busybox tftp
|
2013-09-14 10:09:29 +00:00
|
|
|
ln -s busybox tftpd
|
2013-09-06 12:34:40 +00:00
|
|
|
ln -s busybox top
|
|
|
|
ln -s busybox vi
|
|
|
|
ln -s busybox wget
|
2013-09-06 08:31:51 +00:00
|
|
|
popd
|
|
|
|
popd
|
|
|
|
}
|