From 40de1a34d5663c55215d56ceaecc1411a6dfd8f8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 2 Sep 2006 13:51:05 +0000 Subject: add avahi autoipd man page git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1310 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- man/Makefile.am | 33 +++++++- man/avahi-autoipd.8.xml.in | 154 ++++++++++++++++++++++++++++++++++++++ man/avahi-autoipd.action.8.xml.in | 85 +++++++++++++++++++++ 3 files changed, 271 insertions(+), 1 deletion(-) create mode 100644 man/avahi-autoipd.8.xml.in create mode 100644 man/avahi-autoipd.action.8.xml.in diff --git a/man/Makefile.am b/man/Makefile.am index f6bbae0..756d481 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -42,7 +42,9 @@ noinst_DATA = \ avahi-daemon.conf.5.xml \ avahi-dnsconfd.action.8.xml \ avahi.service.5.xml \ - avahi.hosts.5.xml + avahi.hosts.5.xml \ + avahi-autoipd.8.xml \ + avahi-autoipd.action.8.xml CLEANFILES = \ $(noinst_DATA) @@ -62,6 +64,16 @@ man_MANS += \ endif endif +if ENABLE_AUTOIPD +if HAVE_LIBDAEMON + +man_MANS += \ + avahi-autoipd.8 \ + avahi-autoipd.action.8 + +endif +endif + avahi-browse.1.xml: avahi-browse.1.xml.in Makefile sed -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ @@ -118,6 +130,17 @@ avahi.hosts.5.xml: avahi.hosts.5.xml.in Makefile -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ +avahi-autoipd.action.8.xml: avahi-autoipd.action.8.xml.in Makefile + sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + +avahi-autoipd.8.xml: avahi-autoipd.8.xml.in Makefile + sed -e 's,@pkgsysconfdir\@,$(pkgsysconfdir),g' \ + -e 's,@PACKAGE_BUGREPORT\@,$(PACKAGE_BUGREPORT),g' \ + -e 's,@PACKAGE_URL\@,$(PACKAGE_URL),g' $< > $@ + + if USE_XMLTOMAN CLEANFILES += $(man_MANS) @@ -158,6 +181,12 @@ avahi.service.5: avahi.service.5.xml Makefile avahi.hosts.5: avahi.hosts.5.xml Makefile xmltoman $< > $@ +avahi-autoipd.action.8: avahi-autoipd.action.8.xml Makefile + xmltoman $< > $@ + +avahi-autoipd.8: avahi-autoipd.8.xml Makefile + xmltoman $< > $@ + xmllint: $(noinst_DATA) for f in $(noinst_DATA) ; do \ xmllint --noout --valid "$$f" || exit 1 ; \ @@ -181,6 +210,8 @@ EXTRA_DIST = \ avahi-dnsconfd.action.8.xml.in \ avahi.service.5.xml.in \ avahi.hosts.5.xml.in \ + avahi-autoipd.action.8.xml.in \ + avahi-autoipd.8.xml.in \ xmltoman.css \ xmltoman.xsl \ xmltoman.dtd diff --git a/man/avahi-autoipd.8.xml.in b/man/avahi-autoipd.8.xml.in new file mode 100644 index 0000000..c40ce39 --- /dev/null +++ b/man/avahi-autoipd.8.xml.in @@ -0,0 +1,154 @@ + + + + + + + + + + + + avahi-autoipd [options] interface + avahi-autoipd --kill interface + avahi-autoipd --refresh interface + avahi-autoipd --check interface + + + +

avahi-autoipd implements IPv4LL, "Dynamic Configuration of + IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for + automatic IP address configuration from the link-local + 169.254.0.0/16 range without the need for a central server. It + is primarily intended to be used in ad-hoc networks which lack a + DHCP server.

+ +

IPv4LL is part of the Zeroconf stack.

+ +

avahi-autoipd can be used as stand-alone address allocator + or as plugin for a DHCP client such as ISC's dhclient, where it + can be used as fallback solution if no DHCP server is found.

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +

@pkgsysconfdir@/avahi-autoipd.action: the script to run when an IP address as been acquired or is lost.

+ +
+ +
+

SIGINT, SIGTERM, SIGQUIT: avahi-autoipd will shutdown. (Same as --kill)

+

SIGHUP: avahi-autoipd will reannounce the acquired IP address. (Same as --refresh)

+
+ +
+

The Avahi Developers <@PACKAGE_BUGREPORT@>; Avahi is + available from

+
+ +
+

+ , +

+
+ +
+

This man page was written using by Oliver Kurth.

+
+ +
diff --git a/man/avahi-autoipd.action.8.xml.in b/man/avahi-autoipd.action.8.xml.in new file mode 100644 index 0000000..1eb6750 --- /dev/null +++ b/man/avahi-autoipd.action.8.xml.in @@ -0,0 +1,85 @@ + + + + + + + + + + + + @pkgsysconfdir@/avahi-autoipd.action + + + +

avahi-autoipd.action is the action script that + is called whenever an IP address has been acquired by + avahi-autoipd or when it detected an IP address conflict. The + script should add or remove the specified address from the + specified network interface.

+
+ +
+ + + + + + + +
+ +
+

The Avahi Developers <@PACKAGE_BUGREPORT@>; Avahi is + available from

+
+ +
+

+ , , , +

+
+ +
+

This man page was written using by Oliver Kurth.

+
+ +
-- cgit