I have problems setting up the SamyGO.sh autostart file on my LE40B750:
Telnet starts fine and so do the SamyGo extensions from arris. But the AudioSwitcher (located at the 4th line from bottom) does somehow not start from this script.
This is my SamyGO.sh:
Code: Select all
#!/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
/mtd_tlib/GGame/SamyGO/rcSGO
/mtd_tlib/GGame/SamyGO_AudioStreamSwitcher/loader.so
/mtd_tlib/GGame/SamyGO_AspectRatio/load.so
/mtd_tlib/GGame/Outliner/loader.so
exit
Paths are good, and i also tried the switcher.so instead the loader.so:
Code: Select all
/mtd_tlib/GGame/SamyGO_AudioStreamSwitcher/switcher.so
By starting the application from the Content-Menu it works fine as it should.
Is there maybe a sleep or some other linux-specific thingies (running parallel programs) neccessary?
I appreciate any help you can give me in this matter!
best regards,
B