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

View file

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