summaryrefslogtreecommitdiff
path: root/scripts/poky-qemu-ifup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/poky-qemu-ifup')
-rwxr-xr-xscripts/poky-qemu-ifup9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/poky-qemu-ifup b/scripts/poky-qemu-ifup
new file mode 100755
index 000000000..af081fb4d
--- /dev/null
+++ b/scripts/poky-qemu-ifup
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+IFCONFIG=`which ifconfig`
+if [ "x$IFCONFIG" = "x" ]; then
+ # better than nothing...
+ IFCONFIG=/sbin/ifconfig
+fi
+
+$IFCONFIG tap0 192.168.7.1