well to auto start dropbear I looked at Antonin_Fischer post 85 from August 13 its about how he edited /system/bin/start_samba.sh to auto start samba… all I did was also add dropber in there like this:
#! /system/bin/sh
if mount | grep /data/entware.arm > /dev/null; then
echo "entware already mounted."
else
unset LD_PRELOAD
unset LD_LIBRARY_PATH
sleep 3
/system/bin/mount -o rw,remount /
sleep 1
/system/bin/mkdir /opt
/system/bin/mount -o ro,remount /
sleep 3
/system/bin/mount -o bind /data/entware.arm /opt
sleep 2
/opt/etc/init.d/rc.unslung start
sleep 2
fi
function start_samba()
{
#Start smbd with fail-retry once
count="0"
while [ $count -le 1 ]
do
smbd_pid=`ps | grep smbd | busybox awk '{print $2}'`
if [ -z "$smbd_pid" ]; then
echo "starting smbd daemon"
rm -f /data/wd/samba/var/run/samba/smbd.pid
/opt/sbin/dropbear -p 22 -a
/opt/sbin/smbd -D
else
echo "smbd_pid is $smbd_pid"
break
fi
count=$((count+1))
done
}
PLATFORM=`getprop ro.hardware`
if [ "$PLATFORM" != "yoda" ]
then
start_samba
fi