Age | Commit message (Collapse) | Author |
|
|
|
is a regular file, patch by Arthur Othieno
|
|
|
|
files when the full file PATH is specified.
This patch from Arthur Othieno fixes it.
|
|
|
|
|
|
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
|
|
Cleanup run_parts a bit and add long opts
|
|
|
|
|
|
-Erik
|
|
use getopt.
|
|
|
|
|
|
help texts into their respective Config.in file.
-Erik
|
|
modified Kbuild system I put into uClibc. With this, there should be no more
need to modify Rules.mak since I've moved all the interesting options into the
config system. I think I've got everything updated, but you never know, I may
have made some mistakes, so watch closely.
-Erik
|
|
moves the guts of run_parts to libbb to be used by ifupdown.
|
|
|
|
silly games.
-Erik
|
|
-Erik
|
|
[Parts of this patch may overlap with my other two patches]
|
|
start-stop-daemon man page:
-b|--background
Typically used with programs that don't detach on their own.
This option will force start-stop-daemon to fork before starting
the process, and force it into the background. WARNING:
start-stop-daemon cannot check the exit status if the process
fails to execute for any reason. This is a last resort, and is
only meant for programs that either make no sense forking on
their own, or where it's not feasible to add the code for it to
do this itself.
This is usefull for applets like watchdog
|
|
I reduce 148 bytes from start_stop_daemon.c code. Also reduced
memory allocated.
|
|
|
|
Kimdon <dwhedon@gordian.com> on october 7th -- the day I was fired from
Lineo. So it seems I totally forgot about this patch until now.
Sorry about that David!
|