Results 1 to 3 of 3

Thread: Export statements ? (for Oleg I supposed)

  1. #1

    Export statements ? (for Oleg I supposed)

    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 :-) :
    Code:
    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
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  2. #2
    Join Date
    Jul 2004
    Location
    near Lyon @ France
    Posts
    195
    Have you tried ~/.profile (i.e. /usr/local/root/.profile) ?

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

    JF

  3. #3
    /usr/local/root/.profile works like a charm :-)

    Thanks a lot.
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

Similar Threads

  1. Do you know that ASUS thanks OLEG ?
    By ankn99 in forum WL-500g Q&A
    Replies: 0
    Last Post: 06-09-2005, 17:16
  2. Firmware v1.9.2.7 CR1 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 53
    Last Post: 14-04-2005, 00:26
  3. Firmware v1.8.1.7 CR3 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 47
    Last Post: 29-03-2005, 18:38
  4. Firmware v1.9.2.7 CR2 [Oleg]
    By Oleg in forum WL-500g Firmware Releases
    Replies: 64
    Last Post: 11-01-2005, 19:22
  5. Problems with 1.9.2.7 CR2 (oleg)
    By alpha5 in forum WL-500g Q&A
    Replies: 5
    Last Post: 03-01-2005, 21:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •