@@ -289,7 +289,7 @@ get_uptime() {
|
|||||||
*)
|
*)
|
||||||
# Get uptime in seconds
|
# Get uptime in seconds
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux" | "Windows")
|
"Linux" | "Windows" | "GNU")
|
||||||
seconds="$(< /proc/uptime)"
|
seconds="$(< /proc/uptime)"
|
||||||
seconds="${seconds/.*}"
|
seconds="${seconds/.*}"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user