diff --git a/mod_for_factory_scripts/400configAutotest b/mod_for_factory_scripts/400configAutotest new file mode 100644 index 0000000000..74261a5512 --- /dev/null +++ b/mod_for_factory_scripts/400configAutotest @@ -0,0 +1,20 @@ +#!/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}" <