Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-05-26 23:53:07 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-05-27 18:57:54 -0300
commit7528ca0acf26f754d09699f898d353a904521ada (patch)
tree736da09b28a7885439c1c4bae9d8cba2918cec95 /hooks
parentaf9640c7045364807c59b4c899d9d09df98a38fe (diff)
do not declare bootif_dev local
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'hooks')
-rw-r--r--hooks/archiso_pxe_common3
1 files changed, 2 insertions, 1 deletions
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common
index 66eecfa..abf38b0 100644
--- a/hooks/archiso_pxe_common
+++ b/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