Commit 32e22e3b authored by YPJ's avatar YPJ

修改序列号为/etc/miner_sn

parent 514e2445
......@@ -89,7 +89,7 @@ func GetLocalUUID() string {
}
func GetLocalUUID2() string {
cmd := exec.Command("cat","/etc/machine-id")
cmd := exec.Command("cat","/etc/miner_sn")
var buf, errbuf bytes.Buffer
cmd.Stdout = &buf
cmd.Stderr = &errbuf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment