aboutsummaryrefslogtreecommitdiff
path: root/examples/udhcp/sample.script
diff options
context:
space:
mode:
authorRuss Dill <Russ.Dill@asu.edu>2002-10-14 21:41:28 +0000
committerRuss Dill <Russ.Dill@asu.edu>2002-10-14 21:41:28 +0000
commit61fb48930f45aa536584b2047f9e703186e8f69f (patch)
treee3b93e0a694be81939f8c4762553c43ffdb9b10b /examples/udhcp/sample.script
parent9060a7315980bb05f42eab76b88746d43e138188 (diff)
downloadbusybox-61fb48930f45aa536584b2047f9e703186e8f69f.tar.gz
added full udhcp integration
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