Fix pwnagotchi crash when updating hostname #1121
-Incorporated changes from llamasoft/pwnagotchi on Github
This commit is contained in:
parent
40cdfa3fdd
commit
d2b22b2ff3
@ -41,7 +41,7 @@ def set_name(new_name):
|
|||||||
fp.write(patched)
|
fp.write(patched)
|
||||||
|
|
||||||
os.system("hostname '%s'" % new_name)
|
os.system("hostname '%s'" % new_name)
|
||||||
pwnagotchi.reboot()
|
reboot()
|
||||||
|
|
||||||
|
|
||||||
def name():
|
def name():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user