summaryrefslogtreecommitdiff
path: root/examples/udhcp/sample.script
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-12-27 04:35:09 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-12-27 04:35:09 +0000
commit7b76233290bd9dead1848f28ed6d0edfcceb8e09 (patch)
treeb963999fc54eddb65f1929b894f868e24851fc9c /examples/udhcp/sample.script
Correcting tag name to be like previous ones1_3_0
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 000000000..9b717ac3c
--- /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