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
1 changed files with 1 additions and 1 deletions

View File

@ -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"* | "OpenWRT"* | "Windows"*) *"Puppy"* | "Quirky Werewolf"* | "Alpine Linux"* | "Windows"*)
uptime="$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')" uptime="$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')"
;; ;;