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 then put any commands (including interactive commands) you need to run in /bin/autorun. Thanks, Lance Satyanarayana Reddy Mendaddula wrote: > Hi, > > i tried with ~/.profile and /etc/profile but nothing it is showing just we > are geting a shell, > > but i observed one thing if itried in snapgear3.5 it is working ,but in > snapgear3.3 it is noe working,, > > for so many reasons we shifted o snapgear3.3.. > anybody plz help me to out........ > > Thank you > > -----Original Message----- > From: [EMAIL PROTECTED] on behalf of Carlos Becker > Sent: Fri 1/4/2008 4:08 PM > To: uClinux development list > Subject: Re: [uClinux-dev] another stupid (simple?) question - auto-start > ofapplication with shell? > > Hi, have you tried /etc/profile or wherever it is that the shell reads > the init file? However, that would execute in ssh sessions too, for > instance. > > Also make sure you didn't use "date &" but "date " only in /etc/rc, > since the first one would make date run on the background. > > > On Jan 4, 2008 3:58 AM, satyanarayanam <[EMAIL PROTECTED]> wrote: > >> Hi to all, >> >> I am using uclinux with snapgear 3.4,i need to run a program at booting >> time, >> then i placed my execute file in etc/rc ,it is executing but in the program >> it must wait for user date(keyboard),But it is not waiting... >> then i realised that at the time of execting this program,shell is yet to >> come >> that means i am executing before shell.. >> >> so we plan for after shell imdeately to run our program automatically... >> >> i tried so many but those are not working... >> >> so any body help me................ >> >> Thanks in advance..... >> >> >> >> Thank you, >> Satyanarayna reddy mendaddula, >> Tata Elxsi Ltd,White field ,Hoody-1, >> Emp no--6185, Mb no - 9341311577 >> Email:- [EMAIL PROTECTED] >> >> Help ever, Hurt never... >> >> >> The information contained in this electronic message and any attachments to >> this message are intended for the exclusive use of the addressee(s) and may >> contain proprietary, confidential or privileged information. If you are not >> the intended recipient, you should not disseminate, distribute or copy this >> e-mail. Please notify the sender immediately and destroy all copies of this >> message and any attachments contained in it. >> >> Contact your Administrator for further information. >> _______________________________________________ >> uClinux-dev mailing list >> [email protected] >> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >> This message was resent by [email protected] >> To unsubscribe see: >> http://mailman.uclinux.org/mailman/options/uclinux-dev >> >> > _______________________________________________ > uClinux-dev mailing list > [email protected] > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev > > > This message (including any attachment) is confidential and may be legally > privileged. Access to this message by anyone other than the intended > recipient(s) listed above is unauthorized. If you are not the intended > recipient you are hereby notified that any disclosure, copying, or > distribution of the message, or any action taken or omission of action by you > in reliance upon it, is prohibited and may be unlawful. Please immediately > notify the sender by reply e-mail and permanently delete all copies of the > message if you have received this message in error. > > ------------------------------------------------------------------------ > > _______________________________________________ > uClinux-dev mailing list > [email protected] > http://mailman.uclinux.org/mailman/listinfo/uclinux-dev > This message was resent by [email protected] > To unsubscribe see: > http://mailman.uclinux.org/mailman/options/uclinux-dev _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
