flatcar-scripts/mod_for_factory_scripts/400configAutotest
Tom Wai-Hong Tam 2acef61815 Change the path of qualified_components to the autotest directory.
So no need of the directory /usr/local/manufacturing/.

Review URL: http://codereview.chromium.org/1816004
2010-05-06 14:14:02 +08:00

21 lines
510 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
echo "Create global_config.ini in autotest directory."
GLOBAL_CONFIG="${STATEFUL_DIR}/home/autotest-client/global_config.ini"
if [ -f "${GLOBAL_CONFIG}" ]; then
echo -e "File ${GLOBAL_CONFIG} already exists."
exit 1
fi
cat > "${GLOBAL_CONFIG}" <<EOF
[CLIENT]
drop_caches: False
drop_caches_between_iterations: False
EOF