saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
hasufell 2015-08-22 13:49:06 +02:00 committed by Hans Wurst
parent 2fc759509a
commit 14b74041b5
4 changed files with 3 additions and 53 deletions

View File

@ -1,36 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
description="Minetest dedicated server"
depend() {
need net
}
start() {
ebegin "starting server"
start-stop-daemon \
--start \
--quiet \
--make-pidfile \
--pidfile "${PIDFILE}" \
--background \
--user ${USER} \
--group ${GROUP} \
--exec "${MINETESTBIN}" -- ${ARGS}
eend $?
}
stop() {
ebegin "stopping server"
start-stop-daemon \
--stop \
--signal 15 \
--quiet \
--pidfile "${PIDFILE}"
eend $?
}

View File

@ -1,7 +1,7 @@
#!/sbin/runscript #!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation # Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: $ # $Id$
description="Minetest dedicated server" description="Minetest dedicated server"

View File

@ -1,14 +0,0 @@
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more
# options see /usr/share/doc/nvidia-drivers-346.87/README
#
# !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW
# WHAT YOU ARE DOING.
# ONLY ADD TRUSTED USERS TO THE VIDEO GROUP, THESE USERS MAY BE ABLE TO CRASH,
# COMPROMISE, OR IRREPARABLY DAMAGE THE MACHINE.
options nvidia NVreg_DeviceFileMode=432 NVreg_DeviceFileUID=0 NVreg_DeviceFileGID=27 NVreg_ModifyDeviceFiles=1

View File

@ -4,7 +4,7 @@ alias /dev/nvidiactl char-major-195
# To tweak the driver the following options can be used, note that # To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!! For more # you should be careful, as it could cause instability!! For more
# options see /usr/share/doc/nvidia-drivers-355.06-r1/README # options see /usr/share/doc/nvidia-drivers-346.87/README
# #
# !!! SECURITY WARNING !!! # !!! SECURITY WARNING !!!
# DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW # DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW