From: Jeremy Kerr Date: Mon, 20 Jan 2014 00:51:11 +0000 (+0800) Subject: utils/pb-udhcpc: Fix incorrect reference to $interface X-Git-Tag: v1.0.0~264 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=416647ec10a0ca505de35348620391fde80043c0 utils/pb-udhcpc: Fix incorrect reference to $interface We have a typo in the udhcpc hook, where we're not referncing the interface variable correctly. This means we'll get the same device identifier for all netboot options. Signed-off-by: Jeremy Kerr --- diff --git a/utils/pb-udhcpc b/utils/pb-udhcpc index 60cfa58..f0703ae 100644 --- a/utils/pb-udhcpc +++ b/utils/pb-udhcpc @@ -27,7 +27,7 @@ pb_add () { paramstr="$paramstr $name=$value" done - pb-event dhcp@{interface} $paramstr + pb-event dhcp@${interface} $paramstr # Check if an explicit config file present if [ -n "${conffile}" ] @@ -47,7 +47,7 @@ pb_add () { paramstr="$paramstr $name=$value" done - pb-event add@{interface} $paramstr + pb-event add@${interface} $paramstr } pb_remove () {