blob: bbd61d4fe73be721c106f68f1d9b8b5a22e937a3 [file] [log] [blame]
#!/bin/bash
# Copyright (c) 2013 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/board_specific"
echo 1 > "${ROOT_FS_DIR}/usr/share/power_manager/board_specific/disable_dark_resume"
# This file is only present on link currently. Presence of this file will
# automatically enable legacy_dark_resume.cc. Enabling legacy_dark_resume.cc
# will hinder tests that use wakeup alarm for waking up for suspend.
# So deleting the file.
rm -f "${ROOT_FS_DIR}/usr/share/power_manager/board_specific/dark_resume_suspend_durations"