aboutsummaryrefslogtreecommitdiff
path: root/kvmx-vdagent
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-10 11:35:23 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-10 11:35:23 -0300
commit3914890a287efb0b4e6d50be76d589a57ff9562c (patch)
tree15d0a2250caf730a462a871cd5e772584f65f771 /kvmx-vdagent
parent5eacfb37e464b549dbc84da321da6d98dd749fe0 (diff)
downloadkvmx-3914890a287efb0b4e6d50be76d589a57ff9562c.tar.gz
kvmx-3914890a287efb0b4e6d50be76d589a57ff9562c.tar.bz2
Complete license information
Diffstat (limited to 'kvmx-vdagent')
-rwxr-xr-xkvmx-vdagent21
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