| # Copyright 2011 The ChromiumOS Authors |
| # 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" |
| |
| start on start-user-session |
| task |
| |
| # The task should complete quickly. Never necessary to be killed. |
| oom score never |
| |
| script |
| # The "logged-in" file is used by ACPI events to behave |
| # appropriately. The state directory is created earlier in |
| # session startup. |
| touch /run/state/logged-in # croslint: disable |
| end script |