Gavin Lambert wrote:
Quoth Bob Furber [EMAIL PROTECTED]:
I want to set my program as an auto-run program in uClinux,
by adding "/bin/myapp" to /etc/rc. But my program has some
parameters, like "myapp -R -L 192.168.2.1". The question is
how to deal with the parameters? I tried to add "/bin/myapp
-R -L 192.168.2.1" in rc file, but it does not work.
It should work -- it'd be a pretty useless rc file if it didn't accept
parameters.
What shell are you using? What init are you using?
A common problem is that stdin isn't neccessarily "open" through
/etc/rc execution. If your program tries to get input it can be
a problem.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
SnapGear -- a Secure Computing Company PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
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