summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorZeeshan Ali <zeenix@collabora.co.uk>2018-09-15 19:34:09 -0400
committerZeeshan Ali <zeenix@collabora.co.uk>2018-09-15 20:53:24 -0400
commitae4b0728707a9f55f1f330da17212b3a415dc6dc (patch)
tree2c77eea45b616ba769f5408cb4a21f4783d7ce2e /data
parent00a4e96da7a291d093ed64eddf0744b52392dd2f (diff)
service: Allow disabling of all sources through config
Fixes #46.
Diffstat (limited to 'data')
-rw-r--r--data/geoclue.conf.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/geoclue.conf.in b/data/geoclue.conf.in
index 061c8c5..38dd1b5 100644
--- a/data/geoclue.conf.in
+++ b/data/geoclue.conf.in
@@ -13,9 +13,30 @@ whitelist=@demo_agent@gnome-shell;io.elementary.desktop.agent-geoclue2
# Fetch location from NMEA sources on local network?
enable=true
+# 3G source configuration options
+[3g]
+
+# Enable 3G source
+enable=true
+
+# CDMA source configuration options
+[cdma]
+
+# Enable CDMA source
+enable=true
+
+# Modem GPS source configuration options
+[modem-gps]
+
+# Enable Modem-GPS source
+enable=true
+
# WiFi source configuration options
[wifi]
+# Enable WiFi source
+enable=true
+
# URL to the wifi geolocation service. The key can currenty be anything, just
# needs to be present but that is likely going to change in future.
url=https://location.services.mozilla.com/v1/geolocate?key=geoclue