saving uncommitted changes in /etc prior to emerge run

This commit is contained in:
2015-07-31 02:55:23 +02:00
committed by Hans Wurst
parent 4d9533ca0a
commit 5bededcf96
492 changed files with 5986 additions and 66593 deletions

View File

@@ -1,9 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/files/dropbox.initd,v 1.4 2014/03/22 07:31:57 naota Exp $
PID_DIR=/var/run/dropbox
# $Header: /var/cvsroot/gentoo-x86/net-misc/dropbox/files/dropbox.initd,v 1.5 2014/10/18 02:09:07 naota Exp $
depend() {
need localmount net
@@ -15,15 +13,15 @@ start() {
local tmpionice="${IONICE:+"--ionice "}${IONICE}"
local started=""
mkdir -p ${PID_DIR}
ebegin "Starting dropbox"
for dbuser in ${DROPBOX_USERS}; do
local homedir=$(eval echo ~${dbuser})
if test -d "${homedir}" && \
echo 0 > ${homedir}/.dropbox/dropbox.pid && \
start-stop-daemon -S -b \
${tmpnice} ${tmpionice} \
-u ${dbuser} -v \
-p ${homedir}/.dropbox/dropbox.pid \
-e HOME=${homedir} \
-x /opt/bin/dropbox; then
started="${started} ${dbuser}"