SAMBA automount

Here for general support for B series TVs, request and problem solve area.

c74k
Posts: 105
Joined: Tue May 04, 2010 7:45 pm

Re: SAMBA automount

Post 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

Post Reply

Return to “[B] Support”