I recently wrote a script that contained code suggested by CaminoFrancisco to mount shares as shown below:
"# Create Mount Points
# Mount Servers
smbmount //shydemon/DVDs /mnt/smb/shydemon -o username=yourusername,password=yourpassword"
My script runs at boot time from my CF card while also enabling the swap file and switching the card to read/write. I am mounting 3 shares in the script and I mounted two more via the GUI because they wouldn't work from the script for some reason. The problem I am running into is that the Roku loses the three shares mounted by the script after a period of time. The two that were mounted through the GUI are fine. All machines involved are using static IP addresses (including the Roku). Are there other options I need to specify in the script? Perhaps it is because I have more than four shares? I am running the latest Roku OS and a swap file on a revision A unit. If at all possible, I would like to be able to mount 5 shares. That plus giving the shares friendly names was the original point of writing the script.