[BusyBox] [patch] ifupdown / run parts
Bruno Randolf
bruno.randolf at 4g-systems.biz
Mon Jul 28 12:37:23 UTC 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hello!
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.
regards,
bruno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/JRkDfg2jtUL97G4RAuioAKCnAk/uRIRdCWdrJIHvaubfXZZ8CACgkEGz
SP2wRk8ynmLilMHwS0fmLJo=
=YRG6
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-run_parts.diff
Type: text/x-diff
Size: 2831 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030728/2415b63b/attachment.bin
More information about the busybox
mailing list