mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 21:16:57 +02:00
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>
This commit is contained in:
parent
cbc51a0929
commit
140cc8b16d
@ -1,11 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
|
||||
# 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 accesibility."
|
||||
for script in openssh-server iptables saft; do
|
||||
sed -i 's/#for_test //' "${ROOT_FS_DIR}/etc/init/${script}.conf"
|
||||
echo "Modifying upstart scripts for test accessibility."
|
||||
for script in "${ROOT_FS_DIR}/etc/init/*.conf"; do
|
||||
sed -i 's/#for_test //' ${script}
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user