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

@@ -58,6 +58,7 @@ checkconfd() {
}
checkconfig() {
checkpath --directory /run/apache_ssl_mutex
checkconfd || return 1
${APACHE2} ${APACHE2_OPTS} -t 1>/dev/null 2>&1
@@ -106,7 +107,7 @@ stop() {
${APACHE2} ${APACHE2_OPTS} -k stop
local i=0 retval=0
while ( test -f "${PIDFILE}" && pgrep -P ${PID} apache2 >/dev/null ) \
while ( test -f "${PIDFILE}" || pgrep -P ${PID} apache2 >/dev/null ) \
&& [ $i -lt ${TIMEOUT} ]; do
sleep 1 && i=$(expr $i + 1)
done