Re: [uClinux-dev] another stupid (simple?) question - auto-startofapplication with shell?

2008-01-07 Thread Lance Spaulding
Hi Satyanarayana, What init program are you using? I currently use busybox init and I'm able to run interactive programs from rc. In the past, I tried to do this with simple init but never could get it to work. Thanks, Lance Endre Bakka wrote: >> I tried by put this script in /etc/rc as >> >>

Re: [uClinux-dev] another stupid (simple?) question - auto-startofapplication with shell?

2008-01-07 Thread Endre Bakka
I tried by put this script in /etc/rc as [ ! -x /bin/radauth ] || sh /bin/radauth then it is showning like /bin/radauth: cannot execute binary file Is /bin/radauth a script or the program you want to execute? It should be a script that looks something like this: #!/bin/sh /bin/program-to-ru

RE: [uClinux-dev] another stupid (simple?) question - auto-startofapplication with shell?

2008-01-06 Thread satyanarayanam
To: uClinux development list Subject: Re: [uClinux-dev] another stupid (simple?) question - auto-startofapplication with shell? Hi Satyanarayana, You can launch a script from /etc/rc to do this. As an example add this as your last line in /etc/rc: [ ! -x /bin/autorun ] || sh /bin/autorun and

RE: [uClinux-dev] another stupid (simple?) question - auto-startofapplication with shell?

2008-01-06 Thread Satyanarayana Reddy Mendaddula
development list Subject: Re: [uClinux-dev] another stupid (simple?) question - auto-startofapplication with shell? It could be a problem wether you are using bash, sh, etc.. check in the source code of your shell which script is called at init, that should work. good luck, let us know if it