[Buildroot] [PATCH 1/1] package/busybox: fix avahi-autoipd error message

Peter Korsgaard peter at korsgaard.com
Sat Sep 5 07:41:33 UTC 2020


>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

>>>>> "Lukasz" == Lukasz Tekieli <tekieli.lukasz at gmail.com> writes:
 >> When using a combination of udhcpc and avahi-autoipd in case of receiving IP
 >> from a DHCP server, the following message can be seen:
 >> "Failed to kill daemon: No such file or directory".
 >> Add a check for a running avahi-autoipd to fix this issue.

 >> Signed-off-by: Lukasz Tekieli <tekieli.lukasz at gmail.com>
 >> ---
 >> package/busybox/udhcpc.script | 6 +++---
 >> 1 file changed, 3 insertions(+), 3 deletions(-)

 >> diff --git a/package/busybox/udhcpc.script b/package/busybox/udhcpc.script
 >> index 711963f974..0196351cd5 100755
 >> --- a/package/busybox/udhcpc.script
 >> +++ b/package/busybox/udhcpc.script
 >> @@ -42,19 +42,19 @@ case "$1" in
 >> rm -f $TMPFILE
 
 >> if [ -x /usr/sbin/avahi-autoipd ]; then
 >> -			/usr/sbin/avahi-autoipd -k $interface
 >> +			/usr/sbin/avahi-autoipd -c $interface && /usr/sbin/avahi-autoipd -k $interface

 > Longer term this should really move to an
 > /usr/share/udhcpc/default.script.d/avahi-autoipd file, but OK - That can
 > be done later.

 > Committed, thanks.

Committed to 2020.02.x and 2020.05.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list