mirror of
https://github.com/oneclickvirt/basics.git
synced 2025-10-09 02:20:18 +08:00
update
This commit is contained in:
@@ -15,7 +15,6 @@ Include: https://github.com/oneclickvirt/gostun
|
|||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
- [ ] FreeBSD下获取不到CPU的型号,待修复
|
|
||||||
- [ ] 检测GPU相关信息,可参考[ghw](https://github.com/jaypipes/ghw)
|
- [ ] 检测GPU相关信息,可参考[ghw](https://github.com/jaypipes/ghw)
|
||||||
- [ ] CPUCache的信息需要矫正
|
- [ ] CPUCache的信息需要矫正
|
||||||
- [ ] 纯IPV6环境下使用cdn反代获取平台信息
|
- [ ] 纯IPV6环境下使用cdn反代获取平台信息
|
||||||
|
@@ -6,7 +6,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func checkSysctlVersion() bool {
|
func checkSysctlVersion() bool {
|
||||||
out, err := exec.Command("sysctl", "--version").Output()
|
out, err := exec.Command("sysctl", "-h").Output()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user