gcc: add old versions
[openadk.git] / package / busybox / patches / 003-udhcpc-quiet.patch
blob123230999ed2453c5c2e106254b427f95b860022
1 diff -Nur busybox-1.25.0.orig/networking/ifupdown.c busybox-1.25.0/networking/ifupdown.c
2 --- busybox-1.25.0.orig/networking/ifupdown.c 2016-05-26 19:42:44.000000000 +0200
3 +++ busybox-1.25.0/networking/ifupdown.c 2016-06-25 01:14:51.656598262 +0200
4 @@ -537,7 +537,7 @@
5 },
6 { "udhcpc",
7 "udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid -i %iface%[[ -x hostname:%hostname%]][[ -c %client%]]"
8 - "[[ -s %script%]][[ %udhcpc_opts%]]",
9 + "[[ -s %script%]][[ %udhcpc_opts%]] 2>/dev/null",
10 "kill `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null",
13 @@ -576,7 +576,7 @@
14 return 0;
15 # endif
16 return execute("udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid "
17 - "-i %iface%[[ -x hostname:%hostname%]][[ -c %client%]][[ -s %script%]][[ %udhcpc_opts%]]",
18 + "-i %iface%[[ -x hostname:%hostname%]][[ -c %client%]][[ -s %script%]][[ %udhcpc_opts%]] 2>/dev/null",
19 ifd, exec);
21 # else