summaryrefslogtreecommitdiff
path: root/debianutils/run_parts.c
AgeCommit message (Collapse)Author
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-01-25just whitespaceTim Riker
2005-10-06change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-07-29Bruno 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-26Move start_stop_daemon to debianutils.Eric Andersen
Cleanup run_parts a bit and add long opts
2003-03-19Major coreutils update.Manuel Novoa III
2003-01-08Patch by Stewart Brodie to terminate the string array correctlyGlenn L McGrath
2002-11-11Move 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-11Move readlink, mktemp, run-parts and which to a new debianutils dir.Glenn L McGrath