If there are any major changes, I can now edit MOTD!

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-20 11:03:17 +02:00
parent 4453ff7180
commit 4507dd751b

View File

@ -1,31 +1,32 @@
#!/bin/sh #!/bin/sh
#!/bin/sh
_hostname=$(hostname) _hostname=$(hostname)
_version=$(cut -d"'" -f2 < /usr/local/lib/python3.9/dist-packages/pwnagotchi/_version.py) _version=$(cut -d"'" -f2 < /usr/local/lib/python3.9/dist-packages/pwnagotchi/_version.py)
echo echo
echo "(◕‿‿◕) $_hostname" echo "(◕‿‿◕) $_hostname"
echo echo
echo "Hi! I'm a pwnagotchi $_version, please take good care of me!" echo " Hi! I'm a pwnagotchi $_version, please take good care of me!"
echo "Here are some basic things you need to know to raise me properly!" echo " Here are some basic things you need to know to raise me properly!"
echo echo
echo "If you want to change my configuration, use /etc/pwnagotchi/config.toml" echo " If you want to change my configuration, use /etc/pwnagotchi/config.toml"
echo echo
echo "All the configuration options can be found on /etc/pwnagotchi/default.toml," echo " All the configuration options can be found on /etc/pwnagotchi/default.toml,"
echo "but don't change this file because I will recreate it every time I'm restarted!" echo " but don't change this file because I will recreate it every time I'm restarted!"
echo echo
echo "I use oPwnGrid as my main API, you can check stats at https://opwngrid.xyz" echo " I use oPwnGrid as my main API, you can check stats at https://opwngrid.xyz"
echo echo
echo "I'm managed by systemd. Here are some basic commands." echo " I'm managed by systemd. Here are some basic commands."
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 " - pwnver, 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 "systemctl status pwnagotchi" echo " systemctl status pwnagotchi"
echo echo
echo "You can restart me using" echo " You can restart me using"
echo "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/"