From fdf1e52835db6df4ca38e5e82fa42f883056a306 Mon Sep 17 00:00:00 2001 From: dawidd6 Date: Thu, 25 Aug 2016 16:36:08 +0200 Subject: [PATCH 1/2] Fixed uptime on OpenWRT --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index aaf8cfb0..cbe8b59b 100755 --- a/neofetch +++ b/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}')" ;; From ebf1d85297efaee18f9c933750575e4efe7b5600 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 26 Aug 2016 01:10:44 +1000 Subject: [PATCH 2/2] Revert "Some OpenWRT fixes" --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 064e042e..a789bb64 100755 --- a/neofetch +++ b/neofetch @@ -151,7 +151,7 @@ getuptime() { case "$os" in "Linux" | "Windows") case "$distro" in - *"Puppy"* | "Quirky Werewolf"* | "Alpine Linux"* | "OpenWRT"* | "Windows"*) + *"Puppy"* | "Quirky Werewolf"* | "Alpine Linux"* | "Windows"*) uptime="$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')" ;;