summaryrefslogtreecommitdiffstats
path: root/scripts/qemu-ifup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/qemu-ifup')
-rwxr-xr-xscripts/qemu-ifup9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/qemu-ifup b/scripts/qemu-ifup
index da3918c6ac..8abe35f57b 100755
--- a/scripts/qemu-ifup
+++ b/scripts/qemu-ifup
@@ -1,2 +1,9 @@
1#!/bin/sh 1#!/bin/sh
2ifconfig tap0 192.168.7.1 \ No newline at end of file 2
3IFCONFIG=`which ifconfig`
4if [ "x$IFCONFIG" == "x" ]; then
5 # better than nothing...
6 IFCONFIG=/sbin/ifconfig
7fi
8
9$IFCONFIG tap0 192.168.7.1