OpenSUSE: Add uptime support
This commit is contained in:
parent
a311897efd
commit
74d4943115
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -501,7 +501,7 @@ getuptime () {
|
|||
case "$os" in
|
||||
"Linux")
|
||||
case "$distro" in
|
||||
"Puppy Linux"* | "Quirky Werewolf"* | "Precise Puppy"*)
|
||||
"Puppy Linux"* | "Quirky Werewolf"* | "Precise Puppy"* | "openSUSE"*)
|
||||
uptime=$(uptime | awk -F ':[0-9]{2}+ |(, ){1}+' '{printf $2}')
|
||||
uptime=${uptime/ / }
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue