summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorspwhitton2015-08-04 04:26:11 +0000
committeradmin2015-08-04 04:26:11 +0000
commit15a16df9a728ad9143c1bcb04e62d6fd0e1e67f2 (patch)
treee90f6a9b0ee51ff35efb5907afefc36fe82ae33c /doc/todo
parent497397274d061fb4d0df28a30c45e31dae4295cb (diff)
create page
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/File.containsConfPair___38___LightDM.autoLogin_properties.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/todo/File.containsConfPair___38___LightDM.autoLogin_properties.mdwn b/doc/todo/File.containsConfPair___38___LightDM.autoLogin_properties.mdwn
new file mode 100644
index 00000000..65a2641b
--- /dev/null
+++ b/doc/todo/File.containsConfPair___38___LightDM.autoLogin_properties.mdwn
@@ -0,0 +1,23 @@
+# `File.containsConfPair` property
+
+A property to set `key = value` pairs under particular `[sections]` in config files. For example, in stock Debian Jessie `/etc/lightdm/lightdm.conf` contains the lines
+
+ [SeatDefaults]
+ #autologin-user=
+
+With the property
+
+ "/etc/lightdm/lightdm.conf" `File.containsConfPair` ("SeatDefaults", "autologin-user", "swhitton")
+
+this will get set to
+
+ [SeatDefaults]
+ autologin-user=swhitton
+
+# `LightDM.autoLogin` property
+
+An application of `File.containsConfPair` to edit `/etc/lightdm/lightdm.conf` to enable autologin for a specified user: a property encapsulating the above example.
+
+# Patches
+
+Please see the two commits in branch `confpairs` in the repo at `git@github.com:spwhitton/propellor.git`.