aboutsummaryrefslogtreecommitdiff
path: root/layout/rootfs
diff options
context:
space:
mode:
Diffstat (limited to 'layout/rootfs')
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-eth0/up1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-sysctl/up2
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