From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/livecd-tools:master commit in: init.d/
Date: Thu, 5 Nov 2020 23:49:45 +0000 (UTC) [thread overview]
Message-ID: <1604618914.15d17333c8e7e5ef038ea288ccc98522c51f4fba.mattst88@gentoo> (raw)
commit: 15d17333c8e7e5ef038ea288ccc98522c51f4fba
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 5 03:15:13 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Nov 5 23:28:34 2020 +0000
URL: https://gitweb.gentoo.org/proj/livecd-tools.git/commit/?id=15d17333
remove special mouse handling and pre-gpm script
nowadays mice are available via /dev/input/mice, which
gpm defaults to open at startup.
INPUT_MOUSEDEV description:
Say Y here if you want your mouse to be accessible as char devices
13:32+ - /dev/input/mouseX and 13:63 - /dev/input/mice as an emulated
IntelliMouse Explorer PS/2 mouse. That way, all user space programs
(including SVGAlib, GPM and X) will be able to use your mouse.
The data available through /dev/psaux is exactly the same as the data
from /dev/input/mice.
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
Signed-off-by: Matt Turner <mattst88 <AT> gmail.com>
init.d/autoconfig | 9 ---------
init.d/gpm-pre | 33 ---------------------------------
2 files changed, 42 deletions(-)
diff --git a/init.d/autoconfig b/init.d/autoconfig
index 9bc3a38..f541a0c 100644
--- a/init.d/autoconfig
+++ b/init.d/autoconfig
@@ -232,7 +232,6 @@ list_services() {
then
echo hwsetup
fi
- svcs="${svcs} $(check_svc ${GPM} gpm-pre)"
svcs="${svcs} $(check_svc ${GPM} gpm)"
svcs="${svcs} $(check_svc ${IDEDMA} hdparm)"
svcs="${svcs} $(check_svc ${NFS} nfsclient)"
@@ -522,14 +521,6 @@ start() {
# Read in what hwsetup has found
[ -f /etc/sysconfig/gentoo ] && source /etc/sysconfig/gentoo
- # Mouse
- # FIXME: If MOUSE_DEVICE is empty, we actually do not want to do anything, not even start gpm.
- if [ -n "${MOUSE_DEVICE}" ]
- then
- :
- # Migrated to autoconfig-gpm-pre
- fi
-
if yesno "${DETECT}"
then
NETDEVICES="$(detect_netdevices)"
diff --git a/init.d/gpm-pre b/init.d/gpm-pre
deleted file mode 100644
index a03e881..0000000
--- a/init.d/gpm-pre
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-depend() {
- before gpm
- need hwsetup
-}
-
-start() {
- [ -f /etc/sysconfig/gentoo ] && source /etc/sysconfig/gentoo
- [ -f /etc/sysconfig/mouse ] && source /etc/sysconfig/mouse
- if [ -z "${MOUSE_DEVICE}" ]; then
- ewarn "No mouse detected. GPM will not be started."
- return 0
- fi
- einfo "Mouse is ${HILITE}${MOUSE_FULLNAME}${NORMAL} at ${HILITE}${MOUSE_DEVICE}${NORMAL} ..."
-
- 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
-}
-
-# vim: ft=gentoo-init-d:
next reply other threads:[~2020-11-05 23:49 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 23:49 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-27 16:57 [gentoo-commits] proj/livecd-tools:master commit in: init.d/ Ben Kohler
2021-07-29 4:05 Georgy Yakovlev
2021-02-25 23:12 Ben Kohler
2020-11-06 0:58 Matt Turner
2020-11-06 0:29 Matt Turner
2020-11-05 23:49 Matt Turner
2020-11-05 23:49 Matt Turner
2020-04-23 18:08 Rick Farina
2019-09-20 19:32 Matt Turner
2019-09-20 19:32 Matt Turner
2018-09-14 5:27 Matt Turner
2018-08-24 14:57 Richard Farina
2018-03-16 1:07 Richard Farina
2018-03-15 18:49 Richard Farina
2018-03-15 17:07 Richard Farina
2018-03-15 4:34 William Hubbs
2018-03-15 3:51 Richard Farina
2017-08-28 18:43 Richard Farina
2017-02-25 0:50 Robin H. Johnson
2016-07-09 4:27 William Hubbs
2015-12-11 17:53 William Hubbs
2015-12-11 17:53 William Hubbs
2015-11-01 20:44 Richard Farina
2014-05-22 16:30 Richard Farina
2013-07-05 21:55 William Hubbs
2013-07-05 21:46 William Hubbs
2013-01-03 18:20 William Hubbs
2012-10-03 14:17 William Hubbs
2011-10-25 2:37 William Hubbs
2011-09-19 1:41 Jorge Manuel B. S. Vicetto
2011-06-30 20:29 William Hubbs
2011-06-30 20:12 William Hubbs
2011-06-28 5:22 William Hubbs
2011-06-28 5:18 William Hubbs
2011-06-28 5:13 William Hubbs
2011-05-01 3:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
2011-05-01 2:49 William Hubbs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1604618914.15d17333c8e7e5ef038ea288ccc98522c51f4fba.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox