Page 2 of 2

Re: LE40B750 and NAS automount

Posted: Sat Jan 30, 2010 3:30 am
by erdem_ua
betacart wrote:Hi,

thank you for reply. If I use "A", then I need to do:

Code: Select all

cp /dtv/usb/sda1/[path of SamyGO.sh] /mtd_rwarea/
and

Code: Select all

cp /dtv/usb/sda1/[path of mount2usb.sh] /mtd_rwarea/
then do for both CHMOD, right?

And this is all?
What about placing "&" 9 is it corrected placed in scripts? And are these scripts correct (I mean syntax and so on).

THX
I advice you that copy that scripts "Before" new FW install. Because Advanced mode DO NOT enable telnet just execute /mtd_rwarea/SamyGO.sh.
So you will needed to enable telnet via Telnet Enable Application if you wanted to copy this scripts later.

"&" means fork to new process/create new thread. That avoid interpreter stop this point if script is faulty. /mtd_rwarea/SamyGO.sh will run at another process. This is simply linux command. You can dig deeper by search engines like searching "ampersand bash".

Re: LE40B750 and NAS automount

Posted: Sat Jan 30, 2010 10:49 am
by erdem_ua
betacart wrote:Hi,
thank you for reply. I will use SamyGo All Extensions ran from USB to enable it after flash :)
Reg. scripts - If I understand clearly, when copy two files "SamyGO.sh" and "mount2usb.sh", it will be called "SamyGO.sh" at startup and then "mount2usb.sh". Once its comands is finished, rest of "SamyGO.sh" will be proceed, right?
So, I need to CHMOD only "SamyGO.sh" once and that is all, right?
Thanks
Advanced mode will run only SamyGO.sh nothing more. If you call another script from SamyGO.sh, it will executed as it needed. I think everything is clear. For getting high knowledge on this, search for "Bash scripting".