#!/bin/busybox sh
# We now rely on '[', 'ln' from coreutils
ln bin/busybox sbin/blockdev
ln bin/busybox sbin/depmod
ln bin/busybox sbin/fstrim
ln bin/busybox sbin/getty
ln bin/busybox sbin/halt
ln bin/busybox sbin/hwclock
ln bin/busybox sbin/ifconfig
ln bin/busybox sbin/init
ln bin/busybox sbin/insmod
ln bin/busybox sbin/ip
ln bin/busybox sbin/losetup
ln bin/busybox sbin/lsmod
ln bin/busybox sbin/mkswap
ln bin/busybox sbin/modinfo
ln bin/busybox sbin/modprobe
ln bin/busybox sbin/nameif
ln bin/busybox sbin/pivot_root
ln bin/busybox sbin/poweroff
ln bin/busybox sbin/reboot
ln bin/busybox sbin/rmmod
ln bin/busybox sbin/route
ln bin/busybox sbin/swapoff
ln bin/busybox sbin/swapon
ln bin/busybox sbin/switch_root
ln bin/busybox usr/sbin/acpid
ln bin/busybox usr/sbin/traceroute
ln bin/busybox usr/sbin/traceroute6
for i in $(busybox --list)
do
    if [ ! -f usr/bin/$i -a ! -f bin/$i -a ! -f sbin/$i -a ! -f /usr/sbin/$i ] ; then
        ln bin/busybox bin/$i
    fi
done
