summaryrefslogtreecommitdiff
path: root/scripts/qemu-ifup
blob: af081fb4d76f4d1386a984a800996f703f70c95f (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

IFCONFIG=`which ifconfig`
if [ "x$IFCONFIG" = "x" ]; then
    # better than nothing...
    IFCONFIG=/sbin/ifconfig
fi

$IFCONFIG tap0 192.168.7.1