Readme
This commit is contained in:
parent
27ee879d25
commit
f3bc7145e4
2 changed files with 7 additions and 4 deletions
4
fetch
4
fetch
|
|
@ -274,7 +274,7 @@ case "$(uname)" in
|
|||
os="OpenBSD"
|
||||
;;
|
||||
|
||||
*"BSD" | "DragonFly")
|
||||
*"BSD")
|
||||
os="BSD"
|
||||
;;
|
||||
|
||||
|
|
@ -312,7 +312,6 @@ case "$os" in
|
|||
"BSD")
|
||||
distro="$(uname -v)"
|
||||
distro=${distro%% *}
|
||||
distro=${distro/DragonFly/DragonFlyBSD}
|
||||
;;
|
||||
|
||||
"Windows")
|
||||
|
|
@ -566,6 +565,7 @@ getcpu () {
|
|||
;;
|
||||
|
||||
*"BSD")
|
||||
# TODO: Cpu speed for other BSD distros
|
||||
cpu="$(sysctl -n hw.model)"
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue