summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/LightDM.hs
diff options
context:
space:
mode:
authorSean Whitton2015-08-16 17:47:21 -0700
committerJoey Hess2015-08-20 10:09:25 -0400
commitf8dc9b294dbc114255129113f84fabde6dac46cc (patch)
tree9e51c6032698bfe8bd297d8f1332d08fc63e22fb /src/Propellor/Property/LightDM.hs
parent826de8e624c9119f2908dbd17d876c6ed5632425 (diff)
ConfFile.containsIniPair property
plus scaffolding for other generic conf file properties (cherry picked from commit 86b077b7a21efd5484dfaeee3c31fc5f3c151f6c)
Diffstat (limited to 'src/Propellor/Property/LightDM.hs')
-rw-r--r--src/Propellor/Property/LightDM.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Property/LightDM.hs b/src/Propellor/Property/LightDM.hs
index b3756f6e..09f7165d 100644
--- a/src/Propellor/Property/LightDM.hs
+++ b/src/Propellor/Property/LightDM.hs
@@ -3,10 +3,10 @@
module Propellor.Property.LightDM where
import Propellor
-import qualified Propellor.Property.File as File
+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" `File.containsConfPair`
+autoLogin (User u) = "/etc/lightdm/lightdm.conf" `ConfFile.containsIniPair`
("SeatDefaults", "autologin-user", u)
`describe` "lightdm autologin"