OpenWRT uptime
This commit is contained in:
parent
377b5a048d
commit
ad53cc8bfc
2
neofetch
2
neofetch
|
@ -151,7 +151,7 @@ getuptime() {
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Linux" | "Windows")
|
"Linux" | "Windows")
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
*"Puppy"* | "Quirky Werewolf"* | "Alpine Linux"* | "Windows"*)
|
*"Puppy"* | "Quirky Werewolf"* | "Alpine Linux"* | "OpenWRT"* | "Windows"*)
|
||||||
uptime="$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')"
|
uptime="$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Reference in New Issue