Release Notes: Enhanced Web App Architecture: - Optimized the structure for better scalability and maintainability. - Refined Data Fetching Logic: Improved the efficiency and reliability of data retrieval processes. - Optimized AT Terminal: Enhanced functionality for smoother interaction with AT commands. - Revamped UI/UX Design: Streamlined user interface and experience for improved accessibility and usability. New Features: - MTU Settings: Added customizable Maximum Transmission Unit (MTU) settings. - APN and IMEI Profiles: Introduced the ability to configure APN and IMEI profiles for better device management. - Persistent Cell Locking: Added native support for persistent cell locking, ensuring consistent network connections. - QuecWatch: Connection monitoring with auto reconnect and reboot settable Co-Authored-By: Russel Yasol <73575327+dr-dolomite@users.noreply.github.com>
14 lines
311 B
Bash
Executable File
14 lines
311 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Set the content type to JSON
|
|
echo "Content-Type: application/json"
|
|
echo ""
|
|
|
|
# Ping 8.8.8.8 with 5 packets and capture the result
|
|
if ping -c 5 8.8.8.8 > /dev/null 2>&1; then
|
|
# Ping was successful
|
|
echo '{"connection": "ACTIVE"}'
|
|
else
|
|
# Ping failed
|
|
echo '{"connection": "INACTIVE"}'
|
|
fi |