Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/root/www/cgi-bin/home/fetch_data_usage.sh
Cameron Thompson df6b4114a8 Update QuecManager Beta to 1.0.5
- Improved signal metrics script so that it will not overlap with data usage that also uses smd7
- Improved signal metrics refresh speed to 15 seconds
- Fixed speedtest get logic that causes a bug when using tailscale
- Improved signal metrics refresh animation

Co-Authored-By: Russel Yasol <73575327+dr-dolomite@users.noreply.github.com>
2024-12-18 23:35:25 -05:00

8 lines
184 B
Bash
Executable File

#!/bin/sh
# Set content type to JSON
echo "Content-Type: application/json"
echo
# Read the JSON file and get only the last entry using jq
jq 'last' /tmp/signal_graphs/data_usage.json