summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/LightDM.hs
diff options
context:
space:
mode:
authorJoey Hess2015-08-20 10:29:08 -0400
committerJoey Hess2015-08-20 10:29:08 -0400
commit6aba3026c44b9c9cf63468927aa57c197f6444fa (patch)
treef1b26ccd84164595dff869757b0384ffb7c095dd /src/Propellor/Property/LightDM.hs
parent0a08f4a1541b3711861a67ff660d60d3f5d668e3 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/LightDM.hs')
-rw-r--r--src/Propellor/Property/LightDM.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs
index 156a2a82..b779ba4d 100644
--- a/src/Propellor/Property/LightDM.hs
+++ b/src/Propellor/Property/LightDM.hs
@@ -7,6 +7,6 @@ import qualified Propellor.Property.ConfFile as ConfFile
-- | Configures LightDM to skip the login screen and autologin as a user.
autoLogin :: User -> Property NoInfo
-autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniPair`
+autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniSetting`
("SeatDefaults", "autologin-user", u)
`describe` "lightdm autologin"