summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-03-17 12:52:12 +0100
committerHans de Goede <hdegoede@redhat.com>2011-03-17 14:50:59 +0100
commit172b0dfa400f2b929b514123a0af767f74416184 (patch)
treefca92fed539040d39e8d6fbe77a7d2e6ca367b5c
parent3c5e8afa276034fb584443d64ad972a173ad5a7d (diff)
vdagentd: Modprobe uinput from spice-vdagentd.sh initscript (rhbz#688257)
uinput may be a module and it does not autoload properly on all systems
-rw-r--r--spice-vdagentd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/spice-vdagentd.sh b/spice-vdagentd.sh
index f901398..306de6b 100644
--- a/spice-vdagentd.sh
+++ b/spice-vdagentd.sh
@@ -36,6 +36,7 @@ lockfile=/var/lock/subsys/$prog
start() {
[ -x $exec ] || exit 5
[ -c $port ] || exit 0
+ modprobe uinput > /dev/null 2>&1
# In case the previous running vdagentd crashed
rm -f /var/run/spice-vdagentd/spice-vdagent-sock
echo -n $"Starting $prog: "