aboutsummaryrefslogtreecommitdiff
path: root/src/setup.sh
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-07-29 18:35:09 -0400
committerspv <spv@spv.sh>2025-07-29 18:35:09 -0400
commit636632b1d03f14c45911c1051d39ff01bd6f118a (patch)
treef889a18e83aa33f4f993aac87d0bfebf2d2f308c /src/setup.sh
parentf9edc4b39a99df397007100e13ebaf7cf2e48373 (diff)
wait for gps fix, use file extensions, make the logging all professional-like
Diffstat (limited to 'src/setup.sh')
-rwxr-xr-xsrc/setup.sh13
1 files changed, 13 insertions, 0 deletions
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