aboutsummaryrefslogtreecommitdiffstats
path: root/examples/source/udhcpd-eth0/run
diff options
context:
space:
mode:
Diffstat (limited to 'examples/source/udhcpd-eth0/run')
-rwxr-xr-xexamples/source/udhcpd-eth0/run5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/source/udhcpd-eth0/run b/examples/source/udhcpd-eth0/run
new file mode 100755
index 0000000..d075d18
--- /dev/null
+++ b/examples/source/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