logo       

[patch] ifupdown / run parts: msg#00197

linux.busybox

Subject: [patch] ifupdown / run parts

-----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-----

Attachment: busybox-run_parts.diff
Description: Text Data

_______________________________________________
busybox mailing list
busybox@xxxxxxxxxxxxxxxx
http://codepoet.org/mailman/listinfo/busybox
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise