Initial Commit
Start new branch for development on new 64bit x75 platfom.
This commit is contained in:
11
Belowx65Toolkit/simpleadmin/www/cgi-bin/get_uptime
Normal file
11
Belowx65Toolkit/simpleadmin/www/cgi-bin/get_uptime
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user