CIFS Automount

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

edelfalke
Posts: 81
Joined: Sun Jan 10, 2010 12:29 pm

Re: CIFS Automount

Post by edelfalke »

Try this Samygo.sh

Code: Select all

#!/bin/sh

# Enable Telnetd
mount -t devpts devpts /dev/pts
telnetd
sleep 20

# 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
  sh $USB/usb.sh    # USB-File detected.
else
  if [ -f /mtd_rwarea/mtd_rwarea.sh ];then
   sh /mtd_rwarea/mtd_rwarea.sh # Run normal startup script
  fi
  if [ -f /mtd_rwarea/cifs_mount.sh ];then
     sh /mtd_rwarea/cifs_mount.sh # Run mount script
  fi
fi

exit
The magic is the sh bevor you run a script ;)

Post Reply

Return to “[B] Support”