summaryrefslogtreecommitdiff
path: root/examples/udhcpc/default.script
diff options
context:
space:
mode:
Diffstat (limited to 'examples/udhcpc/default.script')
-rw-r--r--examples/udhcpc/default.script7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/udhcpc/default.script b/examples/udhcpc/default.script
new file mode 100644
index 0000000..f5920ba
--- /dev/null
+++ b/examples/udhcpc/default.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/default.$1