mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
Merge pull request #65 from thetechprepper/misc/post-r5-build16-updates
Merge post-r5-build-16-updates to release/r5
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Author : Gaston Gonzalez
|
# Author : Gaston Gonzalez
|
||||||
# Date : 21 November 2024
|
# Date : 21 November 2024
|
||||||
|
# Updated : 13 November 2025
|
||||||
# Purpose : Determines if time has been synchronized via GPS
|
# Purpose : Determines if time has been synchronized via GPS
|
||||||
|
|
||||||
if [ ! -e /dev/et-gps ]; then
|
if [ ! -e /dev/et-gps ]; then
|
||||||
@@ -8,7 +9,7 @@ if [ ! -e /dev/et-gps ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TRACKING_INFO=$(chronyc tracking | grep GPS)
|
TRACKING_INFO=$(chronyc tracking | grep NMEA)
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
et-log "GPS plugged in, but not used for time source. There may an internet connection."
|
et-log "GPS plugged in, but not used for time source. There may an internet connection."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user