Commit 8a8b66f1 authored by tansell@google.com's avatar tansell@google.com

Stop cron during cleanup.

crond is another one of these applications which gets automatically
started by many things.

BUG=155452


Review URL: https://chromiumcodereview.appspot.com/11191019

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162429 0039d316-1c4b-4281-b951-d872f2087c98
parent 9e8cf87c
......@@ -663,12 +663,13 @@ if [ -x "${script}" ]; then
cp "${script}" "${tmp_script}"
fi
# Some distributions automatically start an instance of the system-
# wide dbus daemon or of the logging daemon, when installing the Chrome
# build depencies. This prevents the chroot session from being closed.
# So, we always try to shut down any running instance of dbus and
# rsyslog.
sudo "${target%bit}" sh -c "${script} --no-lib32;
# wide dbus daemon, cron daemon or of the logging daemon, when
# installing the Chrome build depencies. This prevents the chroot
# session from being closed. So, we always try to shut down any running
# instance of dbus and rsyslog.
sudo /usr/local/bin/"${target%bit}" sh -c "${script} --no-lib32;
rc=$?;
/etc/init.d/cron stop >/dev/null 2>&1 || :;
/etc/init.d/rsyslog stop >/dev/null 2>&1 || :;
/etc/init.d/dbus stop >/dev/null 2>&1 || :;
exit $rc"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment