#!/bin/sh

cd /opt
rm -f share/busybox_applets.lst
for applet in $(cat share/busybox_applets.lst.dist)
do
    if [ ! -e $applet ]
    then
       ln -s /opt/bin/busybox $applet
       echo "$applet" >> share/busybox_applets.lst
    else
       echo "Warning: '/opt/$applet' is already exists, skipping."
    fi
done
