package/busybox: fix avahi-autoipd error message
PATCH 1/1 package/busybox: fix avahi-autoipd error message
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.
--- package/busybox/udhcpc.script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/busybox/udhcpc.script +3 -3
@@ -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 fi ;; leasefail|nak) if [ -x /usr/sbin/avahi-autoipd ]; then - /usr/sbin/avahi-autoipd -wD $interface --no-chroot + /usr/sbin/avahi-autoipd -c $interface || /usr/sbin/avahi-autoipd -wD $interface --no-chroot fi ;; renew|bound) 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 fi /sbin/ifconfig $interface $ip $BROADCAST $NETMASK if [ -n "$ipv6" ] ; then
Signature · 1 line
2.27.0
PATCH 1/1 package/busybox: fix avahi-autoipd error message
Quoted 17 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Lukasz" == Lukasz Tekieli <[email protected]> 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 <[email protected]>--- package/busybox/udhcpc.script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)package/busybox/udhcpc.script +0
-0
package/busybox/udhcpc.script case "$1" in · line 45
Quoted 5 lines
package/busybox/udhcpc.script +1
-1@@ -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.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/busybox: fix avahi-autoipd error message
Quoted 28 lines
Quoted 21 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
"Peter" == Peter Korsgaard <[email protected]> writes:
"Lukasz" == Lukasz Tekieli <[email protected]> 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 <[email protected]>---
package/busybox/udhcpc.script | 6 +++---1 file changed, 3 insertions(+), 3 deletions(-)package/busybox/udhcpc.script +0
-0@@ -42,19 +42,19 @@ case "$1" inrm -f $TMPFILE
if [ -x
/usr/sbin/avahi-autoipd]; thenpackage/busybox/udhcpc.script
Quoted 2 lines
package/busybox/udhcpc.script +1
-1- /usr/sbin/avahi-autoipd -k $interface + /usr/sbin/avahi-autoipd -c $interface && /usr/sbin/avahi-autoipd -k $interfaceLonger term this should really move to an
/usr/share/udhcpc/default.script.d/avahi-autoipdfile, but OK - That can be done later.
Quoted 1 line
Committed, thanks.
Committed to 2020.02.x and 2020.05.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard