Import Debian changes 1.9.5.3-4

g15daemon (1.9.5.3-4) unstable; urgency=low

  * Try to load uinput module, in order to have Gx key working
    (Closes: #475000).
  * Usual updates
This commit is contained in:
Giacomo Catenazzi committed 2009-08-06 08:32:33 +02:00
1 parent be8ef5acb3
commit c8d7f9138e
5 files changed
+38 -5

No files matched your search

+22
View File
@@ -31,9 +31,31 @@ fi
set -e
load_uinput () {
DEVICE=/dev/input/uinput
DEV=".none."
if [ ! -e "$DEVICE" ] ; then
modprobe -q uinput || true
for i in `seq 80`; do
if [ -e "$DEVICE" ]; then
DEV="$DEVICE"
break
fi
echo -n "."
sleep 0.1
done
if [ "$DEV" = ".none." ]; then
echo -n "Warning: uinput ($DEVICE) doesn't exist. The G-keys are unsupported..."
fi
fi
}
case "$1" in
start)
echo -n "Starting $DESC: "
load_uinput
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."