I follow your suggestion but unfortunately your provided suggestion did not help me.zoelechat wrote:Precisely because environment (->PATH) might not be exactly the same whether you're in-Telnet or in-Script, and possibly the "wrong" cp is used if no path specifiedsmart_lover wrote:Whenever I run manually CP command that exists in init script( I mean 'cp -rf /dtv/usb/sda1/MyWidget/MyWidget /mtd_rwcommon/widgets/user'). It works well and my file contents copy also successfully. But my problem is when the init script wants to run above CP command.
Finally after some try and error and with helps of sleep command ,I find out my strange problem!!!
Whenever I use
Code: Select all
micom reboot
My solution is remove 'micom reboot' and instead of it, use
Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 1 152
Thats it!
Anyway. Thanks for your help.