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 da3918c6a..8abe35f57 100755 --- a/scripts/qemu-ifup +++ b/scripts/qemu-ifup @@ -1,2 +1,9 @@ #!/bin/sh -ifconfig tap0 192.168.7.1
\ No newline at end of file + +IFCONFIG=`which ifconfig` +if [ "x$IFCONFIG" == "x" ]; then + # better than nothing... + IFCONFIG=/sbin/ifconfig +fi + +$IFCONFIG tap0 192.168.7.1 |