flatcar-scripts/mod_for_test_scripts/200disableIdleSuspend
Sameer Nanda f7cf2ca225 Moved disable_idle_suspend to rootfs from stateful partition for test images.
BUG=chromium-os:6204
TEST=Ran mod_image_for_test.sh, mounted resulting image and verfied
     disable_idle_suspend now shows up under /usr/share/power_manager
     instead of /var/lib/power_manager

Change-Id: Ia34787b364cd5ffa199efc4a36b5d9d691a33c5a

Review URL: http://codereview.chromium.org/3326011
2010-09-07 09:34:12 -07:00

9 lines
304 B
Bash
Executable File

#!/bin/bash
# Copyright (c) 2009 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.
mkdir -p "${ROOT_FS_DIR}/usr/share/power_manager"
echo 1 > "${ROOT_FS_DIR}/usr/share/power_manager/disable_idle_suspend"