aboutsummaryrefslogtreecommitdiffstats
path: root/layout/rootfs/etc/s6-rc/source-base/init-lan
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-05-22 21:56:04 +0000
commit82d0f92ab8b84466ae20ab919c1f9c3577b5cecb (patch)
tree776015ae6c6a386125b2d39e13b62f91b99548f8 /layout/rootfs/etc/s6-rc/source-base/init-lan
downloadlh-bootstrap-82d0f92ab8b84466ae20ab919c1f9c3577b5cecb.tar.gz
Initial commit
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/init-lan')
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies2
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-lan/down1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-lan/type1
-rw-r--r--layout/rootfs/etc/s6-rc/source-base/init-lan/up3
4 files changed, 7 insertions, 0 deletions
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies b/layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies
new file mode 100644
index 0000000..79607c6
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/init-lan/dependencies
@@ -0,0 +1,2 @@
+init-sysctl
+mount-cgroups
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/down b/layout/rootfs/etc/s6-rc/source-base/init-lan/down
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/init-lan/down
@@ -0,0 +1 @@
+
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/type b/layout/rootfs/etc/s6-rc/source-base/init-lan/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/init-lan/type
@@ -0,0 +1 @@
+oneshot
diff --git a/layout/rootfs/etc/s6-rc/source-base/init-lan/up b/layout/rootfs/etc/s6-rc/source-base/init-lan/up
new file mode 100644
index 0000000..1e1e4d7
--- /dev/null
+++ b/layout/rootfs/etc/s6-rc/source-base/init-lan/up
@@ -0,0 +1,3 @@
+foreground { modprobe ipv6 }
+if { ip addr add 127.0.0.1/8 dev lo }
+ip link set dev lo up