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

Unified Diff: src/platform/init/ui.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/init/logout.conf ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/init/ui.conf
diff --git a/src/platform/init/ui.conf b/src/platform/init/ui.conf
index 439cf342ddbc18861a9d3735ec4867b0c014eb91..23efd2854260dfbbb3613b12e09ac94552b14218 100644
--- a/src/platform/init/ui.conf
+++ b/src/platform/init/ui.conf
@@ -18,6 +18,10 @@ mkdir -p "$X_SOCKET_DIR" "$X_ICE_DIR"
chown root:root "$X_SOCKET_DIR" "$X_ICE_DIR"
chmod 1777 "$X_SOCKET_DIR" "$X_ICE_DIR"
+# make sure we we can easily track ui state
+rm -rf /var/run/state/
+mkdir -p /var/run/state
+
end script
#expect fork
« no previous file with comments | « src/platform/init/logout.conf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698