aboutsummaryrefslogtreecommitdiff
path: root/examples/udhcp/sample.script
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udhcp/sample.script')
-rw-r--r--examples/udhcp/sample.script7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/udhcp/sample.script b/examples/udhcp/sample.script
new file mode 100644
index 0000000..9b717ac
--- /dev/null
+++ b/examples/udhcp/sample.script
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Currently, we only dispatch according to command. However, a more
+# elaborate system might dispatch by command and interface or do some
+# common initialization first, especially if more dhcp event notifications
+# are added.
+
+exec /usr/share/udhcpc/sample.$1