summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2006-10-15 12:05:15 +0000
committerSven Wegener <swegener@gentoo.org>2006-10-15 12:05:15 +0000
commit48048bc6f3dd7e2e7afa21efdcaaa666d0399da2 (patch)
treed2f794245aad3fd582052e7015987e26d6c5ef8d /net-dns
parentDoes not automatically strip shared libraries any more. (diff)
downloadgentoo-2-48048bc6f3dd7e2e7afa21efdcaaa666d0399da2.tar.gz
gentoo-2-48048bc6f3dd7e2e7afa21efdcaaa666d0399da2.tar.bz2
gentoo-2-48048bc6f3dd7e2e7afa21efdcaaa666d0399da2.zip
Touchup the net script.
(Portage version: 2.1.2_pre3-r2)
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/avahi/ChangeLog5
-rw-r--r--net-dns/avahi/files/autoipd.sh10
2 files changed, 9 insertions, 6 deletions
diff --git a/net-dns/avahi/ChangeLog b/net-dns/avahi/ChangeLog
index 36db8d8c1dc0..962d5f2a49d9 100644
--- a/net-dns/avahi/ChangeLog
+++ b/net-dns/avahi/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dns/avahi
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.62 2006/09/24 19:12:39 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/avahi/ChangeLog,v 1.63 2006/10/15 12:05:15 swegener Exp $
+
+ 15 Oct 2006; Sven Wegener <swegener@gentoo.org> files/autoipd.sh:
+ Touchup the net script.
24 Sep 2006; Sven Wegener <swegener@gentoo.org> avahi-0.6.11.ebuild,
avahi-0.6.12.ebuild, avahi-0.6.13.ebuild, avahi-0.6.14.ebuild:
diff --git a/net-dns/avahi/files/autoipd.sh b/net-dns/avahi/files/autoipd.sh
index c88d44903fe2..e32c9fbbc7aa 100644
--- a/net-dns/avahi/files/autoipd.sh
+++ b/net-dns/avahi/files/autoipd.sh
@@ -13,15 +13,15 @@ autoipd_depend() {
# void autoipd_expose(void)
#
# Expose variables that can be configured
-dhcpcd_expose() {
+autoipd_expose() {
variables autoipd
}
# bool autoipd_start(char *iface)
#
-# Tries to configures the interface via avahi-autoipd
+# Tries to configure the interface via avahi-autoipd
autoipd_start() {
- local iface="${1}" ifvar=$(bash_variable "${iface}") opts="autoipd_${ifvar}" addr=
+ local iface="${1}" ifvar="$(bash_variable "${iface}")" opts="autoipd_${ifvar}" addr=""
interface_exists "${iface}" true || return 1
@@ -29,7 +29,7 @@ autoipd_start() {
if /usr/sbin/avahi-autoipd --daemonize --syslog --wait ${!opts} "${iface}"
then
eend 0
- addr=$(interface_get_address "${iface}")
+ addr="$(interface_get_address "${iface}")"
einfo "${iface} received address ${addr}"
return 0
fi
@@ -47,7 +47,7 @@ autoipd_stop() {
ebegin "Stopping avahi-autoipd"
/usr/sbin/avahi-autoipd --kill --syslog "${iface}"
- eend "${?}"
+ eend "${?}" "Failed to stop running avahi-autoipd instance!"
}
# vim: set ts=4 :