blob: dbabce44cabf521c55004b607fbc271aa9b28aeb [file] [log] [blame]
# 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.
description "Mark that the user has logged in"
author "chromium-os-dev@chromium.org"
# We're a task to ensure that the state change is fully marked
# before session manager calls this step done.
start on start-user-session
task
# The "logged-in" file is Used by ACPI events to behave
# appropriately. The state directory is created earlier in
# session startup.
exec touch /var/run/state/logged-in