summaryrefslogtreecommitdiff
path: root/libbb/run_parts.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* The default behaviour for run-parts is corrected to continue if an errorGlenn L McGrath2003-08-301-2/+3
| | | | | is encountered in a script. Patch by Philip Blundell
* Bruno Randolf writes:Eric Andersen2003-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* Put this back the way it was. I misunderstood what vodz was doing.Eric Andersen2003-05-271-23/+17
|
* This was doing some silly stuff that is not necessary when usingEric Andersen2003-05-261-17/+23
| | | | vfork(), so I have simplified it.
* Major coreutils update.Manuel Novoa III2003-03-191-7/+7
|
* New test mode that allows run_parts to fail silently if the directoryGlenn L McGrath2003-01-201-4/+9
| | | | is not found. Patch from Bastian Blank
* Make test mode output same as official versionGlenn L McGrath2003-01-201-3/+3
|
* Fix a vfork bug, by Nick Fedchik and Vladimir N. OleynikGlenn L McGrath2002-11-211-3/+4
|
* Use vfork, by vodzGlenn L McGrath2002-11-151-42/+22
|
* Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵Glenn L McGrath2002-11-111-0/+139
moves the guts of run_parts to libbb to be used by ifupdown.