Files
applets
busybox.c
busybox.mkll
busybox.sh
install.sh
archival
console-tools
coreutils
docs
editors
examples
findutils
init
miscutils
modutils
networking
procps
scripts
shell
sysklogd
tests
util-linux
.cvsignore
AUTHORS
Changelog
LICENSE
Makefile
README
TODO
basename.c
busybox.c
busybox.def.h
busybox.mkll
busybox.sh
busybox.spec
cat.c
chmod_chown_chgrp.c
chroot.c
chvt.c
clear.c
cmdedit.c
cmdedit.h
cp_mv.c
date.c
dd.c
deallocvt.c
define.sh
df.c
dirname.c
dmesg.c
du.c
dutmp.c
echo.c
fbset.c
fdflush.c
find.c
free.c
freeramdisk.c
fsck_minix.c
grep.c
gunzip.c
gzip.c
halt.c
head.c
hostid.c
hostname.c
init.c
insmod.c
install.sh
internal.h
kill.c
lash.c
length.c
ln.c
loadacm.c
loadfont.c
loadkmap.c
logger.c
logname.c
ls.c
lsmod.c
makedevs.c
math.c
messages.c
mkdir.c
mkfifo.c
mkfs_minix.c
mknod.c
mkswap.c
mnc.c
more.c
mount.c
mt.c
mtab.c
nfsmount.c
nfsmount.h
nslookup.c
ping.c
poweroff.c
printf.c
ps.c
pwd.c
reboot.c
regexp.c
regexp.h
rm.c
rmdir.c
rmmod.c
sed.c
sfdisk.c
sh.c
sleep.c
sort.c
swaponoff.c
sync.c
syslogd.c
tail.c
tar.c
tee.c
telnet.c
test.c
touch.c
tr.c
true_false.c
tty.c
umount.c
uname.c
uniq.c
update.c
uptime.c
utility.c
wc.c
whoami.c
yes.c
busybox/applets/install.sh
Erik Andersen 9ffdaa647e Updates
-Erik
2000-02-11 21:55:04 +00:00

21 lines
332 B
Bash
Executable File

#!/bin/sh
set -e
if [ "$1" = "" ]; then
echo "No installation directory, aborting."
exit 1;
fi
h=`sort busybox.links | uniq`
for i in $h ; do
echo " $1$i -> /bin/busybox"
mkdir -p $1/`echo $i | sed -e 's/\/[^\/]*$//' `
ln -fs /bin/busybox $1$i
done
rm -f $1/bin/busybox
install -m 755 busybox $1/bin/busybox
exit 0