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
>>
>>
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
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
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