do not declare bootif_dev local
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
1bd3d4ec55
commit
ca288915c0
@ -1,7 +1,8 @@
|
|||||||
# vim: set ft=sh:
|
# vim: set ft=sh:
|
||||||
|
|
||||||
run_hook () {
|
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
|
# These variables will be parsed from /tmp/net-*.conf generated by ipconfig
|
||||||
local DEVICE
|
local DEVICE
|
||||||
local IPV4ADDR IPV4BROADCAST IPV4NETMASK IPV4GATEWAY IPV4DNS0 IPV4DNS1
|
local IPV4ADDR IPV4BROADCAST IPV4NETMASK IPV4GATEWAY IPV4DNS0 IPV4DNS1
|
||||||
|
Loading…
Reference in New Issue
Block a user