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

List:       busybox
Subject:    [BusyBox] lash
From:       Thomas Höhenleitner <th () visuelle-maschinen ! de>
Date:       2000-10-25 12:39:26
[Download RAW message or body]

Where does the lash get the environment from?

In version 0.47 sh.c /etc/profile is commented out:

int shell_main(int argc_l, char **argv_l)
{
    int opt, interactive=FALSE;
    FILE *input = stdin;
    argc = argc_l;
    argv = argv_l;
 
 
    //if (argv[0] && argv[0][0] == '-') {
    //      builtin_source("/etc/profile");
    //}                          




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

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