see my comments on the other current thread "Autostart programs".
It appears you program runs, just as you scripted. The application needs to
be backgrounded and detached.
On Thu, 23 Jun 2011, ramandeep wrote:
>
> Hi,
>
>
> I have an application here which autoruns on start-up in TS7500
> board.The script used is as below.
>
> ////////////////////////////////////////////////////////////////////////\
> ////////////
>
> #! /bin/sh
>
> # /etc/init.d/dcu_script
>
> # Some things that run always
>
> # touch /var/lock/blah
>
> # Carry out specific functions when asked to by the system
>
>
>
> export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
>
> case "$1" in
>
> start)
>
> echo "Starting script dcu_script "
>
> echo "Could do more here"
>
> cd /home/eclipse/linux_dcu
>
> ./DCU_V2.0.0.exe
>
> ;;
>
> stop)
>
> echo "Stopping script dcu_script"
>
> echo "Could do more here"
>
> ;;
>
> *)
>
> echo "Usage: /etc/init.d/dcu_script {start|stop}"
>
> exit 1
>
> ;;
>
> esac
>
> exit 0
>
> # command for Startup SCript
>
> # update-rc.d dcu_script defaults Please remember This
>
> ////////////////////////////////////////////////////////////////////////\
> ///////////
>
> Somehow I am not able to log in to the board (using ftp or ethernet)
> once the application starts running.
>
> However if I kill the app and then access the board it works fine.
> Looks like some issues in the script which might be causing issues
> here.Any ideas?
>
> Thanks,
> Ramandeep
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|