diff options
Diffstat (limited to 'kvmx-vdagent')
-rwxr-xr-x | kvmx-vdagent | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/kvmx-vdagent b/kvmx-vdagent index d29e2b3..c19dc84 100755 --- a/kvmx-vdagent +++ b/kvmx-vdagent @@ -1,6 +1,21 @@ -#!/bin/bash +#!/usr/bin/env bash # -# Restart spice-vdagent inside the guest +# kvmx-vdagent spice-vdagent initializer +# +# Copyright (C) 2017 Silvio Rhatto - rhatto at riseup.net +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation, either version 3 of the License, +# or any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. # # Get instances @@ -11,7 +26,7 @@ for pid in $instances; do kill -9 $pid &> /dev/null done -# Just to make sure we're inside a virtual machine +# Restart spice-vdagent if it is available if which spice-vdagent &> /dev/null ; then spice-vdagent fi |