Bug 4568

Summary: [PATCH] Added initscript for avahi-autoipd
Product: buildroot Reporter: Tilman Baumann <tilman.baumann>
Component: OtherAssignee: unassigned
Status: RESOLVED WORKSFORME    
Severity: minor CC: buildroot
Priority: P5    
Version: 2011.11   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: Adds initscript-for-avahi-autoipd

Description Tilman Baumann 2011-11-29 16:47:57 UTC
Created attachment 3830 [details]
Adds initscript-for-avahi-autoipd

I needed avahi-autoipd running so I created a initscript.

Two things I like to add to make it nicer but would need some pointers.
A list of interfaces to monitor settable via Kconfig.
Command line options settable via KConfig. (I need --force-bind)

But it's usable like that. (See patch)
Comment 1 Peter Korsgaard 2011-11-29 19:32:14 UTC
avahi-autoipd is normally used as a fallback for dhcp (which is why we install the custom udhcpc script). If you want to use it without udhcpc then you indeed need to run it manually somehow, using an init script or from /etc/network/interfaces, but just unconditionally installing this init script for everyone doesn't make much sense.
Comment 2 Tilman Baumann 2011-12-05 12:22:22 UTC
(In reply to comment #1)
> avahi-autoipd is normally used as a fallback for dhcp (which is why we install
> the custom udhcpc script). If you want to use it without udhcpc then you indeed
> need to run it manually somehow, using an init script or from
> /etc/network/interfaces, but just unconditionally installing this init script
> for everyone doesn't make much sense.

Thanks. That makes sense.