Add verbose output

This commit is contained in:
Dylan 2016-04-29 09:46:47 +10:00
parent 0a5e676b74
commit b193b9e5d5

View file

@ -590,6 +590,10 @@ getuptime () {
hours=$((uptime / 3600%24)) hours=$((uptime / 3600%24))
days=$((uptime / 86400)) days=$((uptime / 86400))
echo "$mins"
echo "$hours"
echo "$days"
# Format the output like Linux's "uptime -p" cmd. # Format the output like Linux's "uptime -p" cmd.
if [ "$mins" == 1 ]; then if [ "$mins" == 1 ]; then
uptime="$mins minute" uptime="$mins minute"