mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -146,6 +146,9 @@ if __name__ == '__main__':
|
||||
# input validation
|
||||
if user_input.lower() in ('y', 'yes'):
|
||||
os.system("rm /root/.auto-update && systemctl restart pwnagotchi")
|
||||
print("Okay, give me a couple minutes. Just watch pwnlog while you wait.")
|
||||
time.sleep(3)
|
||||
os.system("pwnlog")
|
||||
elif user_input.lower() in ('n', 'no'): # using this elif for readability
|
||||
print("Okay, guess not!")
|
||||
else:
|
||||
|
Reference in New Issue
Block a user