Thanks, i have edited the init source, and it works.
2010/2/4 David McCullough david_mccullo...@mcafee.com
Jivin wzc0066 lays it down ...
Hello,
After enter uClinux shell, run export PATH=$PATH:/local/bin, it works.
But if i put the command export PATH=$PATH:/local/bin into /etc/rc, it
not run at all.
That is because /etc/rc is a script that runs to completion, init then
starts other applications from inittab.
I just want to add /local/bin into $PATH when bootup, so how should i
do ?
Check and see if the shell you are using will load an /etc/profile or a
~/.profile
If not then you may need to edit your init source and add the extra path
info to it.
Cheers,
Davidm
--
David McCullough, david_mccullo...@mcafee.com, Ph:+61 734352815
McAfee - SnapGear http://www.mcafee.com http://www.uCdot.org
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
wzc0066
___
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev