flatcar-scripts/mod_for_test_scripts/400modifyUpstart
Gary Morain 140cc8b16d Look at all upstart configuation scripts for the #for_test hack.
BUG=chromium-os:22446
TEST=Build images and manually inspect configuration files in test and non-test
iamges.

Change-Id: I8b4ff34e40f24f1250e592e5b96d358f064610a8
Reviewed-on: https://gerrit.chromium.org/gerrit/11161
Reviewed-by: Richard Barnette <jrbarnette@chromium.org>
Tested-by: Gary Morain <gmorain@chromium.org>
Commit-Ready: Gary Morain <gmorain@chromium.org>
2011-11-07 15:55:52 -08:00

12 lines
335 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2011 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 "Modifying upstart scripts for test accessibility."
for script in "${ROOT_FS_DIR}/etc/init/*.conf"; do
sed -i 's/#for_test //' ${script}
done