diff options
Diffstat (limited to 'scripts/poky-qemu-ifup')
| -rwxr-xr-x | scripts/poky-qemu-ifup | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/poky-qemu-ifup b/scripts/poky-qemu-ifup new file mode 100755 index 0000000000..af081fb4d7 --- /dev/null +++ b/scripts/poky-qemu-ifup | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | #!/bin/sh | ||
| 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 | ||
