summaryrefslogtreecommitdiff
path: root/debianutils/run_parts.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style cleanup: return(a) -> return a, part 1Denis Vlasenko2006-11-271-1/+1
|
* Closing bug 730. libbb run_parts is using scandir (a GNUism),Denis Vlasenko2006-11-261-8/+99
| | | | | and it is used only by run_parts applet, so move it there. Also saved ~30 bytes (prolly gcc autoinlining...).
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-22/+22
|
* - fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer2006-09-131-1/+1
| | | | | | boilerplate. No object code changes.
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-16/+2
| | | | and eventual platform specific includes in early.
* just whitespaceTim Riker2006-01-251-3/+3
|
* change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"2005-10-061-1/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-9/+9
|
* Bruno Randolf writes:Eric Andersen2003-07-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* Move start_stop_daemon to debianutils.Eric Andersen2003-07-261-25/+31
| | | | Cleanup run_parts a bit and add long opts
* Major coreutils update.Manuel Novoa III2003-03-191-3/+3
|
* Patch by Stewart Brodie to terminate the string array correctlyGlenn L McGrath2003-01-081-1/+2
|
* Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵Glenn L McGrath2002-11-111-190/+44
| | | | moves the guts of run_parts to libbb to be used by ifupdown.
* Move readlink, mktemp, run-parts and which to a new debianutils dir.Glenn L McGrath2002-11-111-0/+251