5 if [ "$1" == "" ]; then
6 echo "No installation directory, aborting."
10 h=`sort busybox.links | uniq`
13 echo "Symlinking $i to /bin/busybox"
14 mypath=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\1/g' `;
15 myapp=`echo $i | sed -e 's/\(^.*\/\)\(.*\)/\2/g' `;
17 (cd $1$mypath ; rm -f $1$mypath$myapp ; ln -s /bin/busybox $1$mypath$myapp )
20 install -m 755 busybox $1/bin/busybox