ts-7000
[Top] [All Lists]

Re: [ts-7000] ftp access issues

To:
Subject: Re: [ts-7000] ftp access issues
From: Simon Leung <>
Date: Thu, 23 Jun 2011 15:53:34 +0100
On 23/06/11 14:41, 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?
>
You application (please remove the .exe part) is hogging the initial 
console. After running all the rc scripts, init will call getty to give 
you a logging prompt. But because your application never exit, it blocks 
everything after it from running.



------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU