aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source-router/udhcpd-eth0
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-01-23 06:49:25 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-01-23 06:49:25 +0000
commit1aa3bc74170f10a4285827efa2748d1d6c2e4613 (patch)
tree3fc6b79944f119dddf85a1cf8758cfbbab607cbe /examples/source-router/udhcpd-eth0
parent3c61b2916c56bfa8d3ce7a6a5480eb93c2ed1470 (diff)
downloads6-rc-1aa3bc74170f10a4285827efa2748d1d6c2e4613.tar.gz
New example batch of service definitions
Diffstat (limited to 'examples/source-router/udhcpd-eth0')
-rw-r--r--examples/source-router/udhcpd-eth0/dependencies.d/init-lan0
-rw-r--r--examples/source-router/udhcpd-eth0/producer-for1
-rwxr-xr-xexamples/source-router/udhcpd-eth0/run5
-rw-r--r--examples/source-router/udhcpd-eth0/timeout-kill1
-rw-r--r--examples/source-router/udhcpd-eth0/type1
5 files changed, 8 insertions, 0 deletions
diff --git a/examples/source-router/udhcpd-eth0/dependencies.d/init-lan b/examples/source-router/udhcpd-eth0/dependencies.d/init-lan
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/examples/source-router/udhcpd-eth0/dependencies.d/init-lan
diff --git a/examples/source-router/udhcpd-eth0/producer-for b/examples/source-router/udhcpd-eth0/producer-for
new file mode 100644
index 0000000..ccf9f4b
--- /dev/null
+++ b/examples/source-router/udhcpd-eth0/producer-for
@@ -0,0 +1 @@
+udhcpd-eth0-log
diff --git a/examples/source-router/udhcpd-eth0/run b/examples/source-router/udhcpd-eth0/run
new file mode 100755
index 0000000..d075d18
--- /dev/null
+++ b/examples/source-router/udhcpd-eth0/run
@@ -0,0 +1,5 @@
+#!/command/execlineb -P
+fdmove -c 2 1
+s6-envdir /etc/env-network
+importas -ui ETH0_IP4 ETH0_IP4
+udhcpd -f -I ${ETH0_IP4} /etc/udhcpd-eth0.conf
diff --git a/examples/source-router/udhcpd-eth0/timeout-kill b/examples/source-router/udhcpd-eth0/timeout-kill
new file mode 100644
index 0000000..ccfc37a
--- /dev/null
+++ b/examples/source-router/udhcpd-eth0/timeout-kill
@@ -0,0 +1 @@
+50000
diff --git a/examples/source-router/udhcpd-eth0/type b/examples/source-router/udhcpd-eth0/type
new file mode 100644
index 0000000..5883cff
--- /dev/null
+++ b/examples/source-router/udhcpd-eth0/type
@@ -0,0 +1 @@
+longrun