source:
freewrt/package/busybox/patches/003-udhcpc-quiet.patch@
44e51f3
| Last change on this file since 44e51f3 was 44e51f3, checked in by , 4 months ago | |
|---|---|
|
|
| File size: 924 bytes | |
-
networking/ifupdown.c
diff -Nur busybox-1.25.0.orig/networking/ifupdown.c busybox-1.25.0/networking/ifupdown.c
old new 537 537 }, 538 538 { "udhcpc", 539 539 "udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid -i %iface%[[ -x hostname:%hostname%]][[ -c %client%]]" 540 "[[ -s %script%]][[ %udhcpc_opts%]] ",540 "[[ -s %script%]][[ %udhcpc_opts%]] 2>/dev/null", 541 541 "kill `cat /var/run/udhcpc.%iface%.pid` 2>/dev/null", 542 542 }, 543 543 }; … … 576 576 return 0; 577 577 # endif 578 578 return execute("udhcpc " UDHCPC_CMD_OPTIONS " -p /var/run/udhcpc.%iface%.pid " 579 "-i %iface%[[ -x hostname:%hostname%]][[ -c %client%]][[ -s %script%]][[ %udhcpc_opts%]] ",579 "-i %iface%[[ -x hostname:%hostname%]][[ -c %client%]][[ -s %script%]][[ %udhcpc_opts%]] 2>/dev/null", 580 580 ifd, exec); 581 581 } 582 582 # else
Note:
See TracBrowser
for help on using the repository browser.
