diff options
Diffstat (limited to 'layout/rootfs/etc/s6-rc/source-base/init-eth0')
4 files changed, 6 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 new file mode 100644 index 0000000..79607c6 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/dependencies @@ -0,0 +1,2 @@ +init-sysctl +mount-cgroups diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/down b/layout/rootfs/etc/s6-rc/source-base/init-eth0/down new file mode 100644 index 0000000..fd3dae2 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/down @@ -0,0 +1 @@ +ip link set dev eth0 down diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/type b/layout/rootfs/etc/s6-rc/source-base/init-eth0/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/type @@ -0,0 +1 @@ +oneshot diff --git a/layout/rootfs/etc/s6-rc/source-base/init-eth0/up b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up new file mode 100644 index 0000000..99b451e --- /dev/null +++ b/layout/rootfs/etc/s6-rc/source-base/init-eth0/up @@ -0,0 +1,2 @@ +foreground { modprobe %%NETMODULE%% } +ip link set dev eth0 up |
