Page 2 of 2

Re: SAMBA automount

Posted: Tue Apr 05, 2011 4:25 pm
by c74k
i use samba (fusesmb) + NFS (to recording from TV) and works with autostart after Power ON TV (if you start samy go to fast samy go dont start corectly i have in samygo.sh "sleep 10" comand on end of file)


#!/bin/sh

# Enable Telnetd
if [ `cat /proc/mounts | grep -c "/dev/pts"` -lt "1" ] ; then
echo "telnetd Enabled"
mount -t devpts devpts /dev/pts
telnetd
else
echo "/dev/pts is mounted"
fi

# Open back-door for fixing boot-loop situations
sleep 20 # Allow USB-stick to settle
USB="/dtv/usb/sda1" # USB mount-point

if [ -f $USB/usb.sh ];then
echo "USB-File detected"
$USB/usb.sh
exit
else
echo "Running Normal SamyGO Startup"
fi
cd /
cd mtd_tlib/GGame/SamyGO/
sleep 10
./rcSGO



#Your lines here!

exit
i must add :
sleep 10

now work :D