@ -500,8 +500,17 @@ getkernel() {
getuptime () {
case "$os" in
"Linux")
case "$distro" in
"Puppy Linux"*)
uptime=$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')
uptime=${uptime/ / }
;;
*)
uptime="$(uptime -p)"
esac
"Mac OS X" | *"BSD")
# Get boot time in seconds