Merge pull request #318 from dawidd6/master

Some OpenWRT fixes
This commit is contained in:
Dylan Araps 2016-08-26 00:50:55 +10:00 committed by GitHub
commit 07ee126214
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"* | "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}')"
;; ;;