summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/gpm/files/gpm.rc6')
-rw-r--r--sys-libs/gpm/files/gpm.rc638
1 files changed, 0 insertions, 38 deletions
diff --git a/sys-libs/gpm/files/gpm.rc6 b/sys-libs/gpm/files/gpm.rc6
deleted file mode 100644
index 7a3328cb62ce..000000000000
--- a/sys-libs/gpm/files/gpm.rc6
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-#NB: Config is in /etc/conf.d/gpm
-
-depend() {
- need localmount
- use hotplug logger
-}
-
-checkconfig() {
- if [ -z "$MOUSEDEV" ] || [ -z "$MOUSE" ] ; then
- eerror "You need to setup MOUSEDEV and MOUSE in /etc/conf.d/gpm first"
- return 1
- fi
-}
-
-start() {
- checkconfig || return 1
-
- local params=""
- [ -n "$RESPONSIVENESS" ] && params="$params -r $RESPONSIVENESS"
- [ -n "$REPEAT_TYPE" ] && params="$params -R$REPEAT_TYPE"
- [ -n "$APPEND" ] && params="$params $APPEND "
-
- ebegin "Starting gpm"
- start-stop-daemon --start --quiet --exec /usr/sbin/gpm \
- -- -m ${MOUSEDEV} -t ${MOUSE} ${params}
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping gpm"
- start-stop-daemon --stop --quiet --pidfile /var/run/gpm.pid
- eend ${?}
-}