From 416647ec10a0ca505de35348620391fde80043c0 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Mon, 20 Jan 2014 08:51:11 +0800 Subject: 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 --- utils/pb-udhcpc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils') 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 () { -- cgit v1.2.1