-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide option to mimic discontinued chronometer and exit PADD when run #431
Comments
Huh - I didn't realise that was even possible with chronometer. If you're looking to display information in the MOTD, you could even use the API to grab the relevant info, without fully running PADD |
Currently there is no 'run-once-and-exit' option which prints everything nicely. You could use the
|
I hacked this together really quickly for similar reasons:
|
Would you like to file a pull request? |
Sure. When I have some more time I was going to make sure I followed the coding style, etc. and then do so. |
I used the old chronometer as part of my MOTD when SSHing into the Pi running Pi-Hole. This gave me a quick overview about the current status and load on the Pi.
I have never heard of PADD before, and now with Pi-Hole 6 out, the old chronometer is discontinued. When installing and running PADD (v4), it seems to be running in a loop and always updating the displayed info regularly. Pressing Ctrl-C gives me my prompt back.
Is there a way to have PADD run only once, exit the program and show me my prompt again? That way, I can use it as a one-time quick look whenever I SSH into the Pi running Pi-Hole and then use my Pi in another way - as I was doing before.
The text was updated successfully, but these errors were encountered: