From a30fd2a30493378a42fa96516d1c84f48427d34e Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 30 Jan 2020 17:09:38 +0000 Subject: The race is still there... adding a sleep -_- --- layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies | 1 + layout/rootfs/etc/s6-rc/source-base/init-eth0/up | 1 + layout/rootfs/etc/s6-rc/source-base/init-sysctl/up | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'layout/rootfs/etc/s6-rc') 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 diff --git a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up index 3f3330c..7f1874b 100644 --- a/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up +++ b/layout/rootfs/etc/s6-rc/source-base/init-sysctl/up @@ -3,4 +3,4 @@ forstdin -nCd"\n" -- LINE importas -u LINE LINE multidefine -C $LINE { CTL VALUE } redirfd -w 1 /proc/sys/$CTL -echo -- $VALUE +echo $VALUE -- cgit v1.2.3