Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 48901 Details for
Bug 78595
PATCH: livecd-tools 1.0.10 - add better gpm support to autoconfig
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Enhancement for gpm in autoconfig
gpm-autoconfig.diff (text/plain), 1.15 KB, created by
Jonas MG
on 2005-01-18 15:52:29 UTC
(
hide
)
Description:
Enhancement for gpm in autoconfig
Filename:
MIME Type:
Creator:
Jonas MG
Created:
2005-01-18 15:52:29 UTC
Size:
1.15 KB
patch
obsolete
>--- autoconfig 2005-01-18 21:59:50.000000000 +0000 >+++ autoconfig 2005-01-18 22:19:34.000000000 +0000 >@@ -6,14 +6,20 @@ > echo "0" > /proc/sys/kernel/printk > DHCP="yes" > DETECT="yes" >+GPM="no" > PCMCIA="no" > HOTPLUG="yes" > APM="no" > ACPI="no" > CMDLINE="`cat /proc/cmdline`" > for x in $CMDLINE ; do >+ if [ "$x" = "console" ]; then >+ GPM="yes" >+ fi >+ > if [ "$x" = "nodetect" ]; then > DETECT="no" >+ GPM="no" > HOTPLUG="no" > APM="no" > ACPI="no" >@@ -94,7 +100,21 @@ > if [ -n "$MOUSE_DEVICE" ]; then > ebegin $GOOD"Mouse is $HILITE$MOUSE_FULLNAME$GOOD at $HILITE$MOUSE_DEVICE$NORMAL" > source /etc/sysconfig/mouse >- [ -x /usr/sbin/gpm ] && gpm -m "${MOUSE_DEVICE}" -t "${MOUSETYPE}" >+ if [ -x /usr/sbin/gpm ]; then >+ if [ "grep "#MOUSE=${MOUSETYPE}" /etc/conf.d/gpm" ]; then >+ sed -i "\@MOUSE=${MOUSETYPE}@s@^#@@" /etc/conf.d/gpm >+ else >+ echo "MOUSE=${MOUSETYPE}" >>/etc/conf.d/gpm >+ fi >+ if [ "grep "#MOUSEDEV=${DEVICE}" /etc/conf.d/gpm" ]; then >+ sed -i "\@MOUSEDEV=${DEVICE}@s@^#@@" /etc/conf.d/gpm >+ else >+ echo "MOUSEDEV=${DEVICE}" >>/etc/conf.d/gpm >+ fi >+ if [ "$GPM" = "yes" ]; then >+ /etc/init.d/gpm start >+ fi >+ fi > eend > fi >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 78595
: 48901