PDA

View Full Version : Export statements ? (for Oleg I supposed)



macsat
27-06-2005, 19:38
Hi Oleg (or others)

Where in the ASUS CR firmwares are "exports" done ?

Normally I would place thoose in ~/.bash_profile but this one is obvouisly not used in the ASUS firmware.

I see that theese exports already exists when loggin on, so I supposed that SOMEWHERE they are defined :-) :

export HOME='/usr/local/root'
export LOGNAME='root'
export PATH='/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
export PS1='[\u@\h \W]$ '
export PWD='/tmp/local/root'
export SHELL='/bin/sh'
export TERM='xterm'
export USER='root'

Regards
macsat

Jean-Fabrice
28-06-2005, 00:15
Have you tried ~/.profile (i.e. /usr/local/root/.profile) ?

also, give a look at /etc/profile which set some vars.

JF

macsat
28-06-2005, 07:22
/usr/local/root/.profile works like a charm :-)

Thanks a lot.