Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-29 | Bruno Randolf writes: | Eric Andersen | |
this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz | |||
2003-05-27 | Put this back the way it was. I misunderstood what vodz was doing. | Eric Andersen | |
2003-05-26 | This was doing some silly stuff that is not necessary when using | Eric Andersen | |
vfork(), so I have simplified it. | |||
2003-03-19 | Major coreutils update. | Manuel Novoa III | |
2003-01-20 | New test mode that allows run_parts to fail silently if the directory | Glenn L McGrath | |
is not found. Patch from Bastian Blank | |||
2003-01-20 | Make test mode output same as official version | Glenn L McGrath | |
2002-11-21 | Fix a vfork bug, by Nick Fedchik and Vladimir N. Oleynik | Glenn L McGrath | |
2002-11-15 | Use vfork, by vodz | Glenn L McGrath | |
2002-11-11 | Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵ | Glenn L McGrath | |
moves the guts of run_parts to libbb to be used by ifupdown. |