do not declare bootif_dev local

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse 2016-05-26 23:53:07 +02:00 committed by Gerardo Exequiel Pozzi
parent 1bd3d4ec55
commit ca288915c0

View File

@ -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