saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-08-24 01:49:25 +02:00
committed by Hans Wurst
parent 50adc55365
commit 83785175cc
13 changed files with 11 additions and 124 deletions

View File

@@ -1,13 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
pidfile="/var/run/git-daemon.pid"
command="/usr/bin/git"
command_args="daemon ${GITDAEMON_OPTS}"
start_stop_daemon_args="-e HOME= -e XDG_CONFIG_HOME= -b -m -p ${pidfile} -u ${GIT_USER:-nobody}:${GIT_GROUP:-nobody}"
depend() {
use logger
}

View File

@@ -1,23 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
depend() {
need localmount
}
start() {
ebegin "Starting hddtemp daemon"
/sbin/start-stop-daemon --start --quiet --exec ${HDDTEMP_EXEC} \
-- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES}
eend $?
}
stop() {
ebegin "Stopping hddtemp daemon"
start-stop-daemon --stop --quiet --exec ${HDDTEMP_EXEC}
eend $?
}

View File

@@ -1,36 +0,0 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git/files/git-daemon-r1.initd,v 1.4 2014/03/03 19:21:29 polynomial-c Exp $
# $Id$
pidfile="/var/run/git-daemon.pid"
command="/usr/bin/git"

View File

@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/files/hddtemp-init,v 1.7 2012/10/24 18:45:04 aidecoe Exp $
# $Id$
depend() {
need localmount

View File

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