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 | |
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')
-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 | ||||
-rw-r--r-- | layout/rootfs/etc/s6-rc/source-base/init-sysctl/up | 2 |
3 files changed, 3 insertions, 1 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 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 |