REF add note about udisks
This commit is contained in:
parent
c89bae26c1
commit
9f91b1939c
|
@ -59,6 +59,10 @@ removedHasDrive _ = False
|
||||||
playSoundMaybe :: FilePath -> Bool -> IO ()
|
playSoundMaybe :: FilePath -> Bool -> IO ()
|
||||||
playSoundMaybe p b = when b $ spawnSound p
|
playSoundMaybe p b = when b $ spawnSound p
|
||||||
|
|
||||||
|
-- NOTE: the udisks2 service should be already running for this module to work.
|
||||||
|
-- If it not already, we won't see any signals from the dbus until it is
|
||||||
|
-- started (it will work after it is started however). It seems safe to simply
|
||||||
|
-- enable the udisks2 service at boot; however this is not default behavior.
|
||||||
runRemovableMon :: IO ()
|
runRemovableMon :: IO ()
|
||||||
runRemovableMon = do
|
runRemovableMon = do
|
||||||
client <- connectSystem
|
client <- connectSystem
|
||||||
|
|
Loading…
Reference in New Issue