[OpenWrt-Devel] @44360 scripts
diff mbox

Message ID 54D8CA59.4090501@nurfuerspam.de
State Changes Requested
Headers show

Commit Message

. Feb. 9, 2015, 2:55 p.m. UTC
From d1f104b6fe94507a80b85943fd1d4ba895f4e0a0 Mon Sep 17 00:00:00 2001
From: Detlef Schmitt <blubblub@nurfuerspam.de>
Date: Mon, 9 Feb 2015 15:35:28 +0100
Subject: [PATCH 2/2] daemon.notice netifd: wan (4235): udhcpc: option -h 
NAME
  is deprecated, use -x hostname:NAME daemon.notice netifd: wan (4235): 
udhcpc
  (v1.22.1) started

replaced the deprecated option "-h HOSTNAME" for udhcpc
with the new one
---
  package/network/config/netifd/files/lib/netifd/proto/dhcp.sh | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Comments

John Crispin Feb. 10, 2015, 6:17 a.m. UTC | #1
Hi,

the subject is wonky

On 09/02/2015 15:55, . wrote:
> From d1f104b6fe94507a80b85943fd1d4ba895f4e0a0 Mon Sep 17 00:00:00
> 2001 From: Detlef Schmitt <blubblub@nurfuerspam.de>

not sure what to think of this email addr

> Date: Mon, 9 Feb 2015 15:35:28 +0100 Subject: [PATCH 2/2]
> daemon.notice netifd: wan (4235): udhcpc: option -h NAME is
> deprecated, use -x hostname:NAME daemon.notice netifd: wan (4235): 
> udhcpc (v1.22.1) started
> 
> replaced the deprecated option "-h HOSTNAME" for udhcpc with the
> new one

the text is at least formatted in a very messy way and it seems to
have part of an error and then part of a sentence

	John


> --- package/network/config/netifd/files/lib/netifd/proto/dhcp.sh |
> 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git 
> a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh 
> b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh 
> index d4c483d..bde60a2 100755 ---
> a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh +++
> b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh @@
> -52,7 +52,7 @@ proto_dhcp_setup() { -s /lib/netifd/dhcp.script \ -f
> -t 0 -i "$iface" \ ${ipaddr:+-r $ipaddr} \ -
> ${hostname:+-H $hostname} \ +               ${hostname:+-x
> hostname:$hostname} \ ${vendorid:+-V $vendorid} \ $clientid
> $broadcast $dhcpopts }

Patch
diff mbox

diff --git 
a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh 
b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
index d4c483d..bde60a2 100755
--- a/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/package/network/config/netifd/files/lib/netifd/proto/dhcp.sh
@@ -52,7 +52,7 @@  proto_dhcp_setup() {
                 -s /lib/netifd/dhcp.script \
                 -f -t 0 -i "$iface" \
                 ${ipaddr:+-r $ipaddr} \
-               ${hostname:+-H $hostname} \
+               ${hostname:+-x hostname:$hostname} \
                 ${vendorid:+-V $vendorid} \
                 $clientid $broadcast $dhcpopts
  }