aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/base-files/files/lib/preinit/10_indicate_preinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit
index 82b730f0c5..a30bf34f6e 100644
--- a/package/base-files/files/lib/preinit/10_indicate_preinit
+++ b/package/base-files/files/lib/preinit/10_indicate_preinit
@@ -90,7 +90,9 @@ preinit_config_board() {
ifname=${ifname%\.*}
fi
- preinit_ip_config $ifname
+ pi_ifname=$ifname
+
+ preinit_ip_config $pi_ifname
}
preinit_ip() {