diff options
author | freaj <freaj@riseup.net> | 2015-03-25 19:29:42 +0100 |
---|---|---|
committer | freaj <freaj@riseup.net> | 2015-03-25 19:29:42 +0100 |
commit | 3051c65e16e655957c38bc1df237e170a50bd784 (patch) | |
tree | 5f1bdbcad064af9243389c1f8c93ad2d7c2e92be /pcr/openrc-desktop/gpm.rc6-2 | |
parent | f955ecf3f6bc9af1733c4a12e27c5fac6d7d7d7f (diff) |
openrc-desktop-20150325-1: Insert missing files
Diffstat (limited to 'pcr/openrc-desktop/gpm.rc6-2')
-rw-r--r-- | pcr/openrc-desktop/gpm.rc6-2 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/openrc-desktop/gpm.rc6-2 b/pcr/openrc-desktop/gpm.rc6-2 new file mode 100644 index 000000000..1e0aaf3e1 --- /dev/null +++ b/pcr/openrc-desktop/gpm.rc6-2 @@ -0,0 +1,29 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/files/gpm.rc6-2,v 1.2 2012/10/28 11:35:56 vapier Exp $ + +#NB: Config is in /etc/conf.d/gpm + +command=/usr/sbin/gpm +command_args=" + -m ${MOUSEDEV} + -t ${MOUSE} + ${RESPONSIVENESS:+ -r ${RESPONSIVENESS}} + ${REPEAT_TYPE:+ -R${REPEAT_TYPE}} + ${APPEND} +" + +pidfile=/var/run/gpm.pid + +depend() { + need localmount + use hotplug logger +} + +start_pre() { + if [ -z "${MOUSEDEV}" ] || [ -z "${MOUSE}" ] ; then + eerror "You need to setup MOUSEDEV and MOUSE in /etc/conf.d/gpm first" + return 1 + fi +} |