From ca288915c09f116c48208b88833159617d0b1dd5 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 26 May 2016 23:53:07 +0200 Subject: [PATCH] do not declare bootif_dev local Signed-off-by: Christian Hesse --- archiso/initcpio/hooks/archiso_pxe_common | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index 66eecfa..abf38b0 100644 --- a/archiso/initcpio/hooks/archiso_pxe_common +++ b/archiso/initcpio/hooks/archiso_pxe_common @@ -1,7 +1,8 @@ # vim: set ft=sh: run_hook () { - local i net_mac bootif_mac bootif_dev + # Do *not* declare 'bootif_dev' local! We need it in run_latehook(). + local i net_mac bootif_mac # These variables will be parsed from /tmp/net-*.conf generated by ipconfig local DEVICE local IPV4ADDR IPV4BROADCAST IPV4NETMASK IPV4GATEWAY IPV4DNS0 IPV4DNS1