Bug 4568 - [PATCH] Added initscript for avahi-autoipd
Summary: [PATCH] Added initscript for avahi-autoipd
Status: RESOLVED WORKSFORME
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2011.11
Hardware: PC Linux
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-29 16:47 UTC by Tilman Baumann
Modified: 2011-12-05 12:22 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
Adds initscript-for-avahi-autoipd (1.62 KB, patch)
2011-11-29 16:47 UTC, Tilman Baumann
Details

Note You need to log in before you can comment on or make changes to this bug.
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.