diff options
author | William Hubbs <williamh@gentoo.org> | 2012-06-07 00:12:20 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-06-07 00:39:14 -0500 |
commit | cd2d520fd175f4bca804e0604869a2afd7095bcb (patch) | |
tree | 76c8c8be581791a9000684f431edc4f6367e776f /net | |
parent | 0e3860e76f2d59b7093cbad04c9f375088e1c0e8 (diff) | |
download | openrc-cd2d520fd175f4bca804e0604869a2afd7095bcb.tar.gz openrc-cd2d520fd175f4bca804e0604869a2afd7095bcb.tar.bz2 openrc-cd2d520fd175f4bca804e0604869a2afd7095bcb.tar.xz |
net/udhcpc: use -x hostname:NAME option instead of -h name
reported-by: bug@mejor.pl
X-Gentoo-Bug: 417617
X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617
Diffstat (limited to 'net')
-rw-r--r-- | 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 ;; |