pmaports/device/main/device-pine64-pinephone/device-pine64-pinephone.post-upgrade
Stefan Hansson 5a2aafd62a
pine64-pinephone: remove gpsd config (MR 4507)
This is no longer necessary as geoclue now can talk to ModemManager
directly for GPS information. It also presents a security risk due to
how gpsd works. As such, remove it.

Closes https://gitlab.com/postmarketOS/pmaports/-/issues/2340
2023-11-03 23:28:29 -07:00

5 lines
118 B
Bash

#!/bin/sh
rc-update add eg25-manager default
rc-update -qq del gpsd || true
rc-update -qq del gpsd_pinephone || true