mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Fixed uptime on OpenWRT
This commit is contained in:
2
neofetch
2
neofetch
@@ -150,7 +150,7 @@ getuptime() {
|
||||
case "$os" in
|
||||
"Linux" | "Windows")
|
||||
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}')"
|
||||
;;
|
||||
|
||||
|
Reference in New Issue
Block a user