You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-libs/gpm/files/gpm.rc6-2

29 lines
553 B

#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#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
}