diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-30 17:09:38 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2020-01-30 17:09:38 +0000 |
commit | a30fd2a30493378a42fa96516d1c84f48427d34e (patch) | |
tree | 24933c359228bc6cc2d2175e7637a1feb9b1be5a /layout/rootfs/etc/s6-rc/source-base/init-eth0 | |
parent | 09abc57746664e221b717214d41f7fc13396e60d (diff) | |
download | lh-bootstrap-a30fd2a30493378a42fa96516d1c84f48427d34e.tar.xz |
The race is still there... adding a sleep -_-
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/init-eth0')
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies | 1 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/init-eth0/up | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies index f4c707c..97749cc 100644 --- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies +++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies @@ -1 +1,2 @@ init-sysctl +init-coldplug 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 a89a990..e55ec97 100644 --- a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up +++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up @@ -1,2 +1,3 @@ +if { sleep 1 } if { ip addr add 10.0.0.1/24 dev eth0 } ip link set dev eth0 up |