Re: [uClinux-dev] How to setup $PATH of uClinux ?

2010-02-04 Thread wzc0066
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

[uClinux-dev] Is this a slip of the pen in file uClinux-dist/user/busybox/loginutils/Kconfig ?

2009-11-17 Thread wzc0066
Hello all:

I'm using uClinux-dist-20080808.tar.bz2,

In file:  uClinux-dist/user/busybox/loginutils/Kconfig
line: 165

config FEATURE_NOLOGIN
bool Support for /etc/nologin
default y
*depends on LOGIN*  -- Does this line
should be *depends on USER_BUSYBOX_LOGIN*
help
  The file /etc/nologin is used by (some versions of) login(1).
  If it exists, non-root logins are prohibited.



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