| Index: mod_for_factory_scripts/200patchInitScript
|
| diff --git a/mod_for_factory_scripts/200patchInitScript b/mod_for_factory_scripts/200patchInitScript
|
| index 017523fe4925ef5be61fdcb5cdefd5cf45ddbd7f..810a4ec9194f565e04e50357c51affeded9482db 100755
|
| --- a/mod_for_factory_scripts/200patchInitScript
|
| +++ b/mod_for_factory_scripts/200patchInitScript
|
| @@ -74,7 +74,8 @@ tail -n 48 -F /var/log/factory.log >/dev/tty3
|
| end script
|
| EOF
|
|
|
| -patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
|
| +if [ -r "${ROOT_FS_DIR}/etc/init/chrontel.conf" ]; then
|
| + patch -d "${ROOT_FS_DIR}" -Np1 <<EOF
|
| diff -Nau old/etc/init/chrontel.conf new/etc/init/
|
| --- old/etc/init/chrontel.conf 2010-08-05 16:32:55.000000000 -0700
|
| +++ new/etc/init/chrontel.conf 2010-08-05 16:32:45.000000000 -0700
|
| @@ -88,3 +89,20 @@ diff -Nau old/etc/init/chrontel.conf new/etc/init/
|
|
|
| # sadly, these can't reference each other.
|
| EOF
|
| +fi
|
| +
|
| +if [ -r "${ROOT_FS_DIR}/etc/init/nvrm.conf" ]; then
|
| + patch -d "${ROOT_FS_DIR}" -Np1 << EOF
|
| +--- old/etc/init/nvrm.conf 2010-11-19 14:57:16.000000000 -0800
|
| ++++ new/etc/init/nvrm.conf 2010-11-19 16:52:48.000000000 -0800
|
| +@@ -2,7 +2,7 @@
|
| + # Use of this source code is governed by a BSD-style license that can be
|
| + # found in the LICENSE file.
|
| +
|
| +-start on starting ui
|
| ++start on starting factory
|
| +
|
| + respawn
|
| +
|
| +EOF
|
| +fi
|
|
|