I've successfully mounted my router device's sdcard on '/mnt/routersd' as follows :
#!/system/bin/sh
su -c 'busybox mount -o remount,rw /'
su -c 'mkdir -p /mnt/routersd'
su -c 'busybox mount -o remount,ro /'
su -c 'busybox mount -t cifs //192.168.0.x/sdcard /mnt/routersd -v -o user=admin,pass=xxxxxx'
The issue is that the mounted folder is lost on every reboot; so, I need to manually execute my script after every reboot. What should I do to have this mounted directory, permanently?
/system/etc/init.d
and you're done. – GiantTree Jan 13 '16 at 21:55