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

Side by Side Diff: mod_for_factory_scripts/200patchInitScript

Issue 3087012: disable chrontel server for factory test (will start via deps/factory/startx.sh) directly (Closed) Base URL: ssh://git@chromiumos-git/crosutils.git
Patch Set: Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 echo "Applying patch to init scripts." 7 echo "Applying patch to init scripts."
8 8
9 touch ${ROOT_FS_DIR}/root/.factory_test 9 touch ${ROOT_FS_DIR}/root/.factory_test
10 patch -d ${ROOT_FS_DIR} -Np1 <<EOF 10 patch -d ${ROOT_FS_DIR} -Np1 <<EOF
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 +++ new/etc/init/software-update.conf 81 +++ new/etc/init/software-update.conf
82 @@ -7,7 +7,7 @@ 82 @@ -7,7 +7,7 @@
83 # 83 #
84 # when boot reaches login prompt, start up software update check. 84 # when boot reaches login prompt, start up software update check.
85 85
86 -start on stopped boot-complete 86 -start on stopped boot-complete
87 +start on never 87 +start on never
88 88
89 respawn 89 respawn
90 EOF 90 EOF
91
92 patch -d ${ROOT_FS_DIR} -Np1 <<EOF
93 diff -Nau old/etc/init/chrontel.conf new/etc/init/
94 --- old/etc/init/chrontel.conf 2010-08-05 16:32:55.000000000 -0700
95 +++ new/etc/init/chrontel.conf 2010-08-05 16:32:45.000000000 -0700
96 @@ -7,7 +7,7 @@
97
98 # start as early as possible to allow login screen on hdmi
99 # Need udev to have connected the i2c before we can use it
100 -start on started udev
101 +start on never
102 stop on starting halt or starting reboot
103
104 # sadly, these can't reference each other.
105 EOF
OLDNEW
« 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