mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-11-08 21:47:21 +01:00
install: lazily configure geoclue and create empty static location with correct permissions
This commit is contained in:
parent
772933d118
commit
7498834c43
10
install
10
install
@ -235,6 +235,16 @@ if [ "$(id -u)" == "0" ]; then
|
|||||||
cp -v etc/systemd/system/flatpak-update.{timer,service} /etc/systemd/system/
|
cp -v etc/systemd/system/flatpak-update.{timer,service} /etc/systemd/system/
|
||||||
fi
|
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.
|
# 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}.service /etc/systemd/system/
|
||||||
cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer /etc/systemd/system/
|
cp -v etc/systemd/system/{aminda-nocron-reboot,aminda-nocron-rebootish,sysctl-p--system}.timer /etc/systemd/system/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user