[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-releng
Subject: [gentoo-releng] [PATCH] autoconfig: don't autostart gpm if /dev/input/mice is not present
From: Georgy Yakovlev <gyakovlev () gentoo ! org>
Date: 2020-11-05 3:29:16
Message-ID: 20201105032916.2554920-1-gyakovlev () gentoo ! org
[Download RAW message or body]
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
---
init.d/autoconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/init.d/autoconfig b/init.d/autoconfig
index 1dbfc5a..15900c2 100644
--- a/init.d/autoconfig
+++ b/init.d/autoconfig
@@ -228,7 +228,10 @@ list_services() {
svcs="${svcs} $(check_svc ${APM} apmd)"
svcs="${svcs} $(check_svc ${BRLTTY} brltty)"
svcs="${svcs} $(check_svc ${COLDPLUG} coldplug hotplug)"
- svcs="${svcs} $(check_svc ${GPM} gpm)"
+ if [ -c /dev/input/mice ]
+ then
+ svcs="${svcs} $(check_svc ${GPM} gpm)"
+ fi
svcs="${svcs} $(check_svc ${IDEDMA} hdparm)"
svcs="${svcs} $(check_svc ${NFS} nfsclient)"
svcs="${svcs} $(check_svc ${PASSWD} pwgen)"
--
2.29.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic