aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qemu-ifup
blob: 8abe35f57b78e2d929ad21362a6278b6c89e76ba (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