new parameters

This commit is contained in:
2020-06-02 00:25:07 +08:00
parent 0fc8f07c27
commit 4362f0bbc6
+3 -3
View File
@@ -4,8 +4,8 @@ import httplib2
import sys
URL = "http://"+sys.argv[1]+"/cgi-bin/reboot.cgi"
USER = "root"
PASS = "root"
USER = sys.argv[2]
PASS = sys.argv[3]
h = httplib2.Http(cache=None, timeout=0.1)
h.add_credentials(USER, PASS)
@@ -14,4 +14,4 @@ try:
resp
print"OK"
except:
print"Asic not avalible"
print"Asic not avalible"