Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager-beta/CONTROL/postinst
Cameron Thompson b981b4a519 QuecManager 1.0.2 BETA
- Added signal graphs for RSRP, RSRQ, and SINR
- Added ethernet connection details
- Added memory usage details
- Added ping graph

Known bug:
Signal graphs may sometimes show inaccurate values. It seems to be a fetching error but Ill try to find the real root cause as soon as possible

Co-Authored-By: Russel Yasol <73575327+dr-dolomite@users.noreply.github.com>
2024-12-17 19:11:26 -05:00

21 lines
617 B
Bash
Executable File

#!/bin/ash
mv /www/index.html /www/index.html.old
cp /www/login.html /www/index.html
# Check if log_signal_metrics.sh is set to start in rc.local and add if not
grep -qxF "/www/cgi-bin/home/log_signal_metrics.sh &" /etc/rc.local || \
sed -i '/^exit 0/i /www/cgi-bin/home/log_signal_metrics.sh &' /etc/rc.local
# Check if log_signal_metrics.sh is already running
if ! pgrep -f "/www/cgi-bin/home/log_signal_metrics.sh" > /dev/null; then
echo "Starting log_signal_metrics.sh..."
/www/cgi-bin/home/log_signal_metrics.sh &
else
echo "log_signal_metrics.sh is already running. Skipping start."
fi
exit 0