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