summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2021-11-22 11:44:16 +0200
committerTeemu Ikonen <tpikonen@mailbox.org>2021-11-28 10:38:52 +0200
commite4c61f8f76a3d6aa15a1d9b83c68aa1474fd0e82 (patch)
tree967c5b045cb97f24796e9daf22f0cebb7fd22448 /data
parent7a9575055936bfd1c9157949917b47a7126bd7ae (diff)
config, location-source: Allow disabling compass in config
config: Add 'compass' group with 'enable' key location-source: Leave priv->compass to NULL and don't connect compass signal handler, if compass is disabled in config.
Diffstat (limited to 'data')
-rw-r--r--data/geoclue.conf.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/data/geoclue.conf.in b/data/geoclue.conf.in
index 14056c7..650470d 100644
--- a/data/geoclue.conf.in
+++ b/data/geoclue.conf.in
@@ -74,6 +74,12 @@ submit-data=false
# A nickname to submit network data with. A nickname must be 2-32 characters long.
submission-nick=geoclue
+# Compass configuration options
+[compass]
+
+# Enable Compass
+enable=true
+
# Application configuration options
#
# NOTE: Having an entry here for an application with allowed=true means that
@@ -140,4 +146,4 @@ users=
[lipstick]
allowed=true
system=true
-users= \ No newline at end of file
+users=