mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
21 lines
487 B
Bash
Executable File
21 lines
487 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 "Configure autotest setting."
|
|
|
|
GLOBAL_CONFIG="${ROOT_FS_DIR}/usr/local/autotest/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
|