Files
quectel-rgmii-toolkit/Belowx65Toolkit/simpleadmin/www/cgi-bin/get_uptime
Cameron Thompson bfd4b31fea Initial Commit
Start new branch for development on new 64bit x75 platfom.
2024-07-07 20:15:59 -04:00

12 lines
214 B
Bash

#!/bin/bash
# Execute the uptime command and store the result
uptime_output=$(uptime)
# Set header for plain text content
echo "Content-Type: text/plain"
echo ""
# Output the uptime result
echo "$uptime_output"