mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -551,15 +551,15 @@
|
|||||||
echo
|
echo
|
||||||
echo " If you want to know what I'm doing, you can check my logs with the command"
|
echo " If you want to know what I'm doing, you can check my logs with the command"
|
||||||
echo " - pwnlog"
|
echo " - pwnlog"
|
||||||
echo "- pwnver, to check the current version"
|
echo " - sudo pwnagotchi --version, to check the current version"
|
||||||
echo " - sudo pwnagotchi --donate, to see how you can donate to this project"
|
echo " - sudo pwnagotchi --donate, to see how you can donate to this project"
|
||||||
echo " - sudo pwnagotchi --check-update, to see if there is a new version available"
|
echo " - sudo pwnagotchi --check-update, to see if there is a new version available"
|
||||||
echo
|
echo
|
||||||
echo " If you want to know if I'm running, you can use"
|
echo " If you want to know if I'm running, you can use"
|
||||||
echo "sudo systemctl status pwnagotchi"
|
echo " systemctl status pwnagotchi"
|
||||||
echo
|
echo
|
||||||
echo " You can restart me using"
|
echo " You can restart me using"
|
||||||
echo "sudo systemctl restart pwnagotchi"
|
echo " systemctl restart pwnagotchi"
|
||||||
echo
|
echo
|
||||||
echo " You learn more about me at https://pwnagotchi.ai/"
|
echo " You learn more about me at https://pwnagotchi.ai/"
|
||||||
when: hostname.changed
|
when: hostname.changed
|
||||||
|
@ -130,7 +130,7 @@ def shutdown():
|
|||||||
|
|
||||||
def restart(mode):
|
def restart(mode):
|
||||||
logging.warning("restarting in %s mode ...", mode)
|
logging.warning("restarting in %s mode ...", mode)
|
||||||
|
mode = mode.upper()
|
||||||
if mode == 'AUTO':
|
if mode == 'AUTO':
|
||||||
os.system("touch /root/.pwnagotchi-auto")
|
os.system("touch /root/.pwnagotchi-auto")
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user