diff options
Diffstat (limited to 'scripts/qemu-ifup')
-rwxr-xr-x | scripts/qemu-ifup | 9 |
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 |
2 | ifconfig tap0 192.168.7.1 \ No newline at end of file | 2 | |
3 | IFCONFIG=`which ifconfig` | ||
4 | if [ "x$IFCONFIG" == "x" ]; then | ||
5 | # better than nothing... | ||
6 | IFCONFIG=/sbin/ifconfig | ||
7 | fi | ||
8 | |||
9 | $IFCONFIG tap0 192.168.7.1 | ||