From 00890f444f764912b1b63a0d2065a402580d0585 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 31 Dec 2017 02:26:19 -0200 Subject: Removes kvm-stop --- share/hydractl/kvm-stop | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 share/hydractl/kvm-stop (limited to 'share') diff --git a/share/hydractl/kvm-stop b/share/hydractl/kvm-stop deleted file mode 100755 index f1a4533..0000000 --- a/share/hydractl/kvm-stop +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -# Workaround for stopping kVM-manager instances. -# - -# Parameters -BASENAME="`basename $0`" -VM="$1" - -# Check -if [ -z "$VM" ]; then - echo "usage: $BASENAME " - exit 1 -fi - -# Run -sv stop $VM ; sv kill $VM ; sv exit $VM -killall $VM -ip link set "${VM}0" down ; ip tuntap del mode tap dev "${VM}0" -- cgit v1.2.3