mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-25 06:18:33 +00:00
28 lines
413 B
Plaintext
28 lines
413 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 ifconfig
|
|
ln -s busybox nc
|
|
ln -s busybox getty
|
|
ln -s busybox login
|
|
ln -s busybox find
|
|
ln -s busybox du
|
|
ln -s busybox ping
|
|
ln -s busybox wget
|
|
ln -s busybox vi
|
|
ln -s busybox top
|
|
ln -s busybox pkill
|
|
popd
|
|
popd
|
|
}
|