saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-08-26 19:02:14 +02:00 committed by Hans Wurst
parent ae7d882e80
commit 88c394688e
1 changed files with 29 additions and 0 deletions

29
init.d/._cfg0000_gpm Executable file
View File

@ -0,0 +1,29 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
#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
}