fix for init.d/gpm

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Fri, 8 Nov 1996 19:01:27 +0100 (MET)

using a mouse with logitech protocol I'd like to use the following
parameters for gpm:

# gpm -t logi -b 9600 -s 150 -r 30

but with
# cat /etc/sysconfig/mouse
MOUSETYPE="logi -b 9600 -s 150 -r 30"

but I'll need the following patch

--- /etc/rc.d/init.d/gpm~ Tue Sep 10 19:09:21 1996
+++ /etc/rc.d/init.d/gpm Fri Nov 8 18:19:38 1996
@@ -12,7 +12,7 @@
. "$MOUSECFG"
fi

- if [ -n ${MOUSETYPE} ]; then
+ if [ -n "${MOUSETYPE}" ]; then
daemon gpm -t $MOUSETYPE
else
daemon gpm

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com



Feedback | Store | News | Support | Product Errata | About Us | Linux Info | Search | JumpWords
No Frames | Show Frames

Copyright © 1995-1997 Red Hat Software. Legal notices