diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-01-20 08:51:11 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-01-20 08:51:11 +0800 |
commit | 416647ec10a0ca505de35348620391fde80043c0 (patch) | |
tree | 6c9c649e496a6def56b2697774c5d057a77aecff /utils | |
parent | 8c8d6be7eb945288ab57da8088e8a1ace50b6d2e (diff) | |
download | petitboot-416647ec10a0ca505de35348620391fde80043c0.zip petitboot-416647ec10a0ca505de35348620391fde80043c0.tar.gz |
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 <jk@ozlabs.org>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/pb-udhcpc | 4 |
1 files changed, 2 insertions, 2 deletions
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 () { |