.bashrc and ash

Seb sbb at tuxfamily.org
Thu Jul 5 08:24:41 PDT 2007


Le Tue, 3 Jul 2007 13:31:37 +0200 (CEST)
Miroslaw Dach <miroslaw.dach at psi.ch> a écrit:

> Thanks it does work fine now.
> 
> Best Regards
> 
> Mirek
> 
> On Tue, 3 Jul 2007, Alexander Kriegisch wrote:
> 
> > > 	I am using ash as a shall in my busybox rootfile system.
> > > I wanted to set some environmental variables in .bashrc but it is not 
> > > taken into account when logging with telnet.
> > 
> > As the name suggests, .bashrc belongs to bash, not ash. You want to try
> > .profile in your home directory.
> > --
> > Alexander Kriegisch
> > 

Hello,

If your .bashrc is Ash-shell compliant, you can also run ash with 
'ENV=$HOME/.bashrc' as environment variable.

++
Seb.


More information about the busybox mailing list