From f8dc9b294dbc114255129113f84fabde6dac46cc Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 16 Aug 2015 17:47:21 -0700 Subject: ConfFile.containsIniPair property plus scaffolding for other generic conf file properties (cherry picked from commit 86b077b7a21efd5484dfaeee3c31fc5f3c151f6c) --- src/Propellor/Property/LightDM.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Propellor/Property/LightDM.hs') 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" -- cgit v1.3-2-g0d8e