aboutsummaryrefslogtreecommitdiff
path: root/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2020-02-10 16:29:20 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2020-02-10 16:29:20 +0000
commit0c40a1a2f42c86841800518e52c1794d4b19aa3a (patch)
tree2b84d52c78eea744e5a015e472faec20c2f53af5 /layout/rootfs/etc/s6-rc/source-base/init-eth0/up
parentbb72a243221616c13d1ed3f4c6191041bf9949d5 (diff)
downloadlh-bootstrap-0c40a1a2f42c86841800518e52c1794d4b19aa3a.tar.xz
Add bcnm again, use bcnm-waitif
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/init-eth0/up')
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-eth0/up2
1 files changed, 1 insertions, 1 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
index 871558f..987a4af 100644
--- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
+++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up
@@ -1,3 +1,3 @@
-if { sleep 3 } # delay to load virtio-net
+if { bcnm-waitif 1 eth0 }
if { ip addr add 10.0.2.1/24 dev eth0 }
ip link set dev eth0 up