Files
quectel-rgmii-toolkit/ipk-source/sdxpinn-quecmanager/root/www/cgi-bin/check_net.sh
Cameron Thompson b5c7bfe567 Update Packages
- Updated QuecManager to 0.0.3 include patch from c8faf539c1

- Added LAN settings to sdxpinn-console-menu V0.0.2

- Updated Tailscale ipks from 1.74.1 to 1.76.1
2024-10-30 02:07:11 +00:00

14 lines
296 B
Bash
Executable File

#!/bin/sh
# Set the content type to JSON
echo "Content-Type: application/json"
echo ""
# Ping 8.8.8.8 and capture the result
if ping -c 1 8.8.8.8 > /dev/null 2>&1; then
# Ping was successful
echo '{"connection": "ACTIVE"}'
else
# Ping failed
echo '{"connection": "INACTIVE"}'
fi