From 636632b1d03f14c45911c1051d39ff01bd6f118a Mon Sep 17 00:00:00 2001 From: spv Date: Tue, 29 Jul 2025 18:35:09 -0400 Subject: wait for gps fix, use file extensions, make the logging all professional-like --- src/setup.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 src/setup.sh (limited to 'src/setup.sh') diff --git a/src/setup.sh b/src/setup.sh new file mode 100755 index 0000000..c329f76 --- /dev/null +++ b/src/setup.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env zsh + +echo '[*] enabling gps-raw & agps-msb' +printf '[i] mmcli: ' +mmcli -m any --location-enable-{gps-raw,agps-msb} + +echo '[*] fixing refresh rate' +printf '[i] mmcli: ' +mmcli -m any --location-set-gps-refresh-rate 1 + +echo '[*] enabling signal' +printf '[i] mmcli: ' +mmcli -m any --location-set-enable-signal \ No newline at end of file -- cgit v1.2.3