Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/openrc:master commit in: net/
Date: Thu, 07 Jun 2012 05:36:19
Message-Id: 1339045940.ae7cbd910a8d95fcf47ea99e19976e3398f6d947.WilliamH@OpenRC
1 commit: ae7cbd910a8d95fcf47ea99e19976e3398f6d947
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:12:20 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=ae7cbd91
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 ;;