Revert "Some OpenWRT fixes"

This commit is contained in:
Dylan Araps 2016-08-26 01:10:44 +10:00 committed by GitHub
parent 07ee126214
commit ebf1d85297

View file

@ -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}')"
;;