Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-29 | Match up interfaces | Eric Andersen | |
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-07-03 | Patch from Lars Kellogg-Stedman: | Eric Andersen | |
Erik, et al. The attached patch makes the following changes to networking/ifupdown.c: (1) It swaps all calls to 'ip link set' and 'ip addr set'. This solves two problems: (a) Calling 'ip link set <dev> up' before assigning an address generates an error message, and (b) Under User Mode Linux, running in with ethernet interfaces in daemon mode, the MAC address for an interface is selected based on the IP address assigned to that interface. If the interface is brought up before being assigned an IP address, it gets a null MAC. (2) It further cleans up run_mapping(). This patch is against ifupdown.c revision 1.25. -- Lars | |||
2003-06-20 | Fixup whitespace handing, fixing some annoying behavior and | Eric Andersen | |
a couple of segfaults | |||
2003-06-05 | Patch from Lars Kellogg-Stedman, lars at larsshack.org, to | Eric Andersen | |
make ifupdown's mapping function work as documented. | |||
2003-04-19 | Patch from David Updegraff to avoid corrupting memory while parsing the | Eric Andersen | |
networks/iterfaces file with next_word routine. Without this, next_word increments one beyond the end of the string. | |||
2003-04-02 | Yet another rather large face lift. It now works for me as expected. | Eric Andersen | |
-Erik | |||
2003-03-19 | Major coreutils update. | Manuel Novoa III | |
2003-02-03 | Fix a couple more ifupdown bugs | Eric Andersen | |
2003-01-27 | This seems sufficient for ifup and ifdown to actually work | Eric Andersen | |
as advertised. Works for me (at least with glibc) | |||
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-14 | Fix leading spaces bug, free line buffer, redo next_word, save some | Glenn L McGrath | |
space. | |||
2003-01-13 | Option to allow ifupdown use ip commands instead of ifconfig, add flush | Glenn L McGrath | |
command to ipaddr, patch by Bastian Blank | |||
2002-12-08 | Start to cleanup handling of the state file, save some space and uses linked ↵ | Glenn L McGrath | |
lists. | |||
2002-12-07 | Differentiate struct and type names | Glenn L McGrath | |
2002-12-07 | Fix command that brings down loopback | Glenn L McGrath | |
2002-12-06 | Use libbb/get_line_from_file, change default state file location | Glenn L McGrath | |
2002-12-06 | Make mapping a config option again to save space, turn off file locking, do ↵ | Glenn L McGrath | |
we really need it ? | |||
2002-12-06 | Fix bug that stoped -a working | Glenn L McGrath | |
2002-11-26 | Fix simple syntax error | Glenn L McGrath | |
2002-11-19 | Dont use xargs | Glenn L McGrath | |
2002-11-19 | dont use the -i option of xargs | Glenn L McGrath | |
2002-11-17 | Remove mapping option, its should always be used | Glenn L McGrath | |
2002-11-11 | Make ifupdown use internal run_parts | 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. | |||
2002-11-10 | Fixup a previous define | Glenn L McGrath | |
2002-11-10 | Make mapping support a definable feature, saves 1.6kB | Glenn L McGrath | |
2002-11-09 | debian compatable ifup and ifdown commands | Glenn L McGrath | |