diff --git a/mod_for_factory_scripts/200patchInitScript b/mod_for_factory_scripts/200patchInitScript deleted file mode 100755 index 1ec430f492..0000000000 --- a/mod_for_factory_scripts/200patchInitScript +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash - -# 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 "Applying patch to init scripts." - -touch "${ROOT_FS_DIR}/root/.factory_test" -touch "${ROOT_FS_DIR}/root/.leave_firmware_alone" - -patch -d "${ROOT_FS_DIR}" -Np1 </dev/null - - # If there is a customize_$BOARD script for this board, let's run it. - # This allows adding settings for specific factories or systems. - CUSTOMIZE="customize_${BOARD}" - if [ -e "${CUSTOMIZE}" ]; then - echo "Running ${CUSTOMIZE}" - "./${CUSTOMIZE}" - fi - - # We don't need the customize script anymore. - rm -f customize_* - - popd >/dev/null -fi