use hive miner bin full paths
This commit is contained in:
parent
12b4239cab
commit
1658ad4f66
|
@ -103,6 +103,6 @@ def hive_set_miner_status(enabled=False):
|
|||
if screen_line_parts[0].split('.',1)[1]=="miner":
|
||||
miner_screen_running=True
|
||||
if miner_screen_running and not enabled:
|
||||
run_command("miner stop")
|
||||
run_command("/hive/bin/miner stop")
|
||||
elif enabled and not miner_screen_running:
|
||||
run_command("nvidia-oc && miner start")
|
||||
run_command("nvidia-oc && /hive/bin/miner start")
|
Loading…
Reference in New Issue