Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:openrc-0.10.x commit in: net/
Date: Thu, 07 Jun 2012 05:39:51
Message-Id: 1339047554.cd2d520fd175f4bca804e0604869a2afd7095bcb.WilliamH@OpenRC
1 commit: cd2d520fd175f4bca804e0604869a2afd7095bcb
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 7 05:12:20 2012 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 7 05:39:14 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=cd2d520f
7
8 net/udhcpc: use -x hostname:NAME option instead of -h name
9
10 reported-by: bug <AT> mejor.pl
11 X-Gentoo-Bug: 417617
12 X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617
13
14 ---
15 net/udhcpc.sh | 2 +-
16 1 files changed, 1 insertions(+), 1 deletions(-)
17
18 diff --git a/net/udhcpc.sh b/net/udhcpc.sh
19 index 4eb0b51..d001867 100644
20 --- a/net/udhcpc.sh
21 +++ b/net/udhcpc.sh
22 @@ -66,7 +66,7 @@ udhcpc_start()
23 if ${sendhost}; then
24 local hname="$(hostname)"
25 if [ "${hname}" != "(none)" ] && [ "${hname}" != "localhost" ]; then
26 - args="${args} --hostname='${hname}'"
27 + args="${args} -x hostname:'${hname}'"
28 fi
29 fi
30 ;;