summaryrefslogtreecommitdiff
path: root/bin/ifup
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2013-01-22 11:42:48 +0100
committerPatrick Simianer <p@simianer.de>2013-01-22 11:42:48 +0100
commitad228600dba989475744f9a2142ca4d53ee8cdbe (patch)
tree120f633b91795749c376cdacc60ae80ecba68eae /bin/ifup
init
Diffstat (limited to 'bin/ifup')
-rwxr-xr-xbin/ifup7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/ifup b/bin/ifup
new file mode 100755
index 0000000..2b60f1c
--- /dev/null
+++ b/bin/ifup
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+DEV=$1
+
+ifconfig $DEV up
+udhcpc -t 5 -q -s /bin/udhcpc.script
+