OLD | NEW |
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 Loading... |
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 |
OLD | NEW |