Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: src/scripts/mod_for_test_scripts/400modifyUpstart

Issue 2675005: patch upstart for test (Closed) Base URL: http://src.chromium.org/git/chromiumos.git
Patch Set: rename Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/mod_for_test_scripts/400modifyUpstart
diff --git a/src/scripts/mod_for_test_scripts/400modifyUpstart b/src/scripts/mod_for_test_scripts/400modifyUpstart
new file mode 100755
index 0000000000000000000000000000000000000000..54157ae50ef166ab7ff0fe99f4feb3925b4942d5
--- /dev/null
+++ b/src/scripts/mod_for_test_scripts/400modifyUpstart
@@ -0,0 +1,10 @@
+#!/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."
+sed -i 's/#for_test //' "${ROOT_FS_DIR}/etc/init/openssh-server.conf"
+sed -i 's/#for_test //' "${ROOT_FS_DIR}/etc/init/iptables.conf"
+
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698