Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Unified Diff: src/platform/init/login.conf

Issue 671023: Add support to auto-shutdown on lid close if no one is logged in (Closed)
Patch Set: remove the deprecated comment Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/acpi/action_lid.sh ('k') | src/platform/init/logout.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/init/login.conf
diff --git a/src/platform/init/login.conf b/src/platform/init/login.conf
new file mode 100644
index 0000000000000000000000000000000000000000..8098c4ebfc9b5f026579f32e3e9b664524abdee5
--- /dev/null
+++ b/src/platform/init/login.conf
@@ -0,0 +1,15 @@
+# Copyright (c) 2010 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.
+
+# login
+#
+# Wrap the login event
+start on start-user-session
+task
+
+script
+ # used by ACPI events to behave appropriately
+ touch /var/run/state/logged-in
+ # ui.conf should make our state directory
+end script
« no previous file with comments | « src/platform/acpi/action_lid.sh ('k') | src/platform/init/logout.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698