[BusyBox] Ash reading /etc/profile

David Meggy dmeggy at techsol.ca
Mon Jan 13 08:06:03 UTC 2003


Hi everybody,

I'm trying to set variables in /etc/profile, but I'm running into
problems setting the PATH.

If my /etc/profile looks like this
export DAVE=asdf
export PATH=$PATH:/mypath      or anything else for that matter

then after I log in and run "set" I will see that DAVE is correctly set
at asdf, but PATH will be set at the default busybox path.  How can I
change this so that ash will set the default path before reading
/etc/profile.


David


-- 
~~~~~~~~~~~~~~~~~~~~~~~~
     David Meggy
     Engineering

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
     www.techsol.ca

eMail: dmeggy at techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~




More information about the busybox mailing list