[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: configure ash to execute /etc/profile by default
From:       Harald Becker <ralda () gmx ! de>
Date:       2011-01-26 14:13:43
Message-ID: 4D402C17.9030603 () gmx ! de
[Download RAW message or body]


> export ENV=/etc/profile
In addition (to give more background), see ash manual page (use google
if you do not have that on your machine), topic "Invocation". Please
don't change ash startup behavior, it could otherwise break many shell
scripts.

> Or (probably better) point ENV to another script that does what you
need, since /etc/profile is meant to be for login shells.

Using ENV with /etc/profile will probably let you fall in a deep trap,
when you don't think carefully of it. Always use a different script for
this. You have been warned!

--
Harald
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic