public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/openrc:openrc-0.10.x commit in: net/
@ 2012-06-07  5:39 William Hubbs
  0 siblings, 0 replies; 3+ messages in thread
From: William Hubbs @ 2012-06-07  5:39 UTC (permalink / raw
  To: gentoo-commits

commit:     cd2d520fd175f4bca804e0604869a2afd7095bcb
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  7 05:12:20 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Jun  7 05:39:14 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=cd2d520f

net/udhcpc: use -x hostname:NAME option instead of -h name

reported-by: bug <AT> mejor.pl
X-Gentoo-Bug: 417617
X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617

---
 net/udhcpc.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/udhcpc.sh b/net/udhcpc.sh
index 4eb0b51..d001867 100644
--- a/net/udhcpc.sh
+++ b/net/udhcpc.sh
@@ -66,7 +66,7 @@ udhcpc_start()
 			if ${sendhost}; then
 				local hname="$(hostname)"
 				if [ "${hname}" != "(none)" ] && [ "${hname}" != "localhost" ]; then
-					args="${args} --hostname='${hname}'"
+					args="${args} -x hostname:'${hname}'"
 				fi
 			fi
 			;;



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/openrc:openrc-0.10.x commit in: net/
@ 2012-07-04 14:22 William Hubbs
  0 siblings, 0 replies; 3+ messages in thread
From: William Hubbs @ 2012-07-04 14:22 UTC (permalink / raw
  To: gentoo-commits

commit:     c7e14b2c1755aa9c10d47724bbaa547c9cf87589
Author:     Björn Baumbach <bb <AT> sernet <DOT> de>
AuthorDate: Wed Jul  4 09:47:00 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Jul  4 14:22:28 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=c7e14b2c

net: fix typo

---
 net/udhcpc.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/udhcpc.sh b/net/udhcpc.sh
index d001867..130f873 100644
--- a/net/udhcpc.sh
+++ b/net/udhcpc.sh
@@ -61,7 +61,7 @@ udhcpc_start()
 	esac
 
 	case " ${args} " in
-		*" --hosname="*|*" -h "*|*" -H "*);;
+		*" --hostname="*|*" -h "*|*" -H "*);;
 		*)
 			if ${sendhost}; then
 				local hname="$(hostname)"



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/openrc:openrc-0.10.x commit in: net/
@ 2012-09-10  0:17 William Hubbs
  0 siblings, 0 replies; 3+ messages in thread
From: William Hubbs @ 2012-09-10  0:17 UTC (permalink / raw
  To: gentoo-commits

commit:     f7a3ac2d107338357de983af6b790db6c84a37f4
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Sep  7 19:29:56 2012 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 10 00:13:26 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=f7a3ac2d

oldnet/iproute2.sh: fix carrier detection

We were not testing for carrier correctly when testing for ipv6
tentative addresses.

Reported-by: <ast <AT> domdv.de>
X-Gentoo-Bug: 433012
X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=433012

---
 net/iproute2.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/iproute2.sh b/net/iproute2.sh
index 16186e8..eb311c8 100644
--- a/net/iproute2.sh
+++ b/net/iproute2.sh
@@ -212,7 +212,7 @@ _delete_addresses()
 
 _has_carrier()
 {
-	return 0
+	LC_ALL=C ip link show dev "${IFACE}" | grep -q "LOWER_UP"
 }
 
 _tunnel()
@@ -287,7 +287,7 @@ iproute2_pre_start()
 _iproute2_ipv6_tentative()
 {
 	# Only check tentative when we have a carrier.
-	LC_ALL=C ip link show dev "${IFACE}" | grep -q "NO-CARRIER" && return 1
+	_has_carrier || return 1
 	LC_ALL=C ip addr show dev "${IFACE}" | \
 		grep -q "^[[:space:]]*inet6 .* tentative"
 }


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-09-10  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10  0:17 [gentoo-commits] proj/openrc:openrc-0.10.x commit in: net/ William Hubbs
  -- strict thread matches above, loose matches on Subject: below --
2012-07-04 14:22 William Hubbs
2012-06-07  5:39 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox