aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/base-files/files/lib/preinit/10_indicate_preinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/lib/preinit/10_indicate_preinit b/package/base-files/files/lib/preinit/10_indicate_preinit
index deb5f2ae3a..debb3d4480 100644
--- a/package/base-files/files/lib/preinit/10_indicate_preinit
+++ b/package/base-files/files/lib/preinit/10_indicate_preinit
@@ -18,6 +18,9 @@ preinit_ip_config() {
fi
ip link set dev $netdev up
+ if [ -n "$vid" ]; then
+ ip link set dev $1 up
+ fi
ip -4 address add $pi_ip/$pi_netmask broadcast $pi_broadcast dev $1
}