flatcar-scripts/mod_for_test_scripts/400modifyUpstart
vbendeb 68fd512d31 Include saft.conf in the list of scripts modified for test.
This change must accompany http://codereview.chromium.org/3330005/show

Change-Id: If57a726933e4a243e424bdc98ddd577081afe6e2

BUG=chromium-os:6345
TEST=manual
built an image, ran mod_image_for_test on it, then
split the image into partition blobs, mounted part_3 and
checked /etc/init/{openssh-server,iptables,saft}.conf
- they all have the #for_test string removed.
removed.

Review URL: http://codereview.chromium.org/3309006
2010-09-03 18:30:47 -07:00

12 lines
361 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 "Modifying upstart scripts for test accesibility."
for script in openssh-server iptables saft; do
sed -i 's/#for_test //' "${ROOT_FS_DIR}/etc/init/${script}.conf"
done