Hello!

First I like to thank everyone involved for the excellent work on LFS
and BLFS!

I'd like to suggest a little modification of "/etc/rc.d/init.d/gpm" from
"blfs-bootscripts-20060624.tar.bz2":

---------------8<----------------------8<----------------
--- /etc/rc.d/init.d/gpm~ 2006-08-12 12:32:26.000000000 +0200
+++ /etc/rc.d/init.d/gpm  2006-08-12 13:38:30.000000000 +0200
@@ -16,7 +16,7 @@
        . /etc/sysconfig/mouse
 fi

-if [ -z "$MDEVICE" ] || [ -z "$PROTOCOL" ]
+if [ -z ${MDEVICE} ] || [ -z ${PROTOCOL} ]
        then
        echo "Please create an /etc/sysconfig/mouse file containing"
        echo "MDEVICE and PROTOCOL values"
@@ -26,7 +26,7 @@
 case "$1" in
        start)
                boot_mesg "Starting gpm..."GPMOPTS="-B 321"


-               loadproc /usr/sbin/gpm -m "$MDEVICE" -t "$PROTOCOL"
"$GPMOPTS"
+               loadproc /usr/sbin/gpm -m ${MDEVICE} -t ${PROTOCOL}
${GPMOPTS}
                ;;

        stop)
--------------->8---------------------->8---------------

I replaced the double quotes witch curly braces.  Then you can write eg
GPMOPTS="-B 321" in "/etc/sysconfig/mouse" to swap the mouse buttons...


Kind regards, Christoph Feikes
-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to