Project

General

Profile

BATMAN V Tests » common.sh

Simon Wunderlich, 11/09/2015 06:08 PM

 
1
#!/bin/sh
2
QEMU=$(which kvm)
3
VDESWITCH=../dev/vde2-2.3.1/src/vde_switch/vde_switch
4
IMAGE=../openwrt.trunk/bin/x86/openwrt-x86-kvm_guest-combined-ext4.img.gz
5

    
6
# you can set this if you are running as root and don't need sudo:
7
# SUDO=
8
SUDO=sudo
9

    
10
${SUDO} killall -q ${QEMU} wirefilter vde_switch qemu-system-x86_64
11
sleep 1
12
${SUDO} killall -q -9 ${QEMU} wirefilter vde_switch qemu-system-x86_64
13

    
(23-23/24)