Commit b193b9e5 authored by Dylan's avatar Dylan

Add verbose output

parent 0a5e676b
......@@ -590,6 +590,10 @@ getuptime () {
hours=$((uptime / 3600%24))
days=$((uptime / 86400))
echo "$mins"
echo "$hours"
echo "$days"
# Format the output like Linux's "uptime -p" cmd.
if [ "$mins" == 1 ]; then
uptime="$mins minute"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment