mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
sb_firmware: update lockfile path
This updates the lockfile path for FHS 3.0 since powerd as well as other pieces of software are migrating over. BUG=chromium:616620 CQ-DEPEND=CL:351271 BRANCH=none TEST=compiled Change-Id: I6aa5fa30225e45039316e4a3af0e50cdef0fdf4e Signed-off-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/351345 Reviewed-by: Dan Erat <derat@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
4ddf54d7b0
commit
f8bcbca2f7
@@ -34,7 +34,7 @@
|
||||
* Path to a file containing flashrom's PID. While present, powerd avoids
|
||||
* suspending or shutting down the system.
|
||||
*/
|
||||
static const char lock_file_path[] = "/var/lock/battery_tool_powerd.lock";
|
||||
static const char lock_file_path[] = "/run/lock/battery_tool_powerd.lock";
|
||||
|
||||
int disable_power_management()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user