From 7498834c4347d258ad353b7a191ed18cd62a5114 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 5 Nov 2025 10:11:53 +0200 Subject: [PATCH] install: lazily configure geoclue and create empty static location with correct permissions --- install | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/install b/install index 7af200be..60530021 100755 --- a/install +++ b/install @@ -235,6 +235,16 @@ if [ "$(id -u)" == "0" ]; then cp -v etc/systemd/system/flatpak-update.{timer,service} /etc/systemd/system/ fi + # SECURITY AND PRIVACY WARNING! May change WiFi positioning service + # endpoint plus enables data submission. + if [ -d /etc/geoclue/conf.d/ ]; then + cp etc/geoclue/conf.d/80-beacondb.conf /etc/geoclue/conf.d/ + chmod -v a+r /etc/geoclue/conf.d/*.conf + touch /etc/geolocation + chown -v geoclue:geoclue /etc/geolocation + chmod -v 600 /etc/geolocation + fi + # STRANGE BEHAVIOUR WARNING IF NOT ME. cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.service /etc/systemd/system/ cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer /etc/systemd/system/