mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
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
12 lines
361 B
Bash
Executable File
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
|
|
|