Skip to content
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

get howdy enabled/disabled state from howdy command #993

Open
Bram-diederik opened this issue Feb 17, 2025 · 0 comments
Open

get howdy enabled/disabled state from howdy command #993

Bram-diederik opened this issue Feb 17, 2025 · 0 comments

Comments

@Bram-diederik
Copy link

I have installed howdy from source on debian trixie.
and now im making a ssh interface to home assistant.
for a notification when a false login was detected with image.
and a switch for turning howdy on and off.
for this i need the current state of howdy which is lacking.

please add a state option to the howdy command to see if howdy is enabled or disabled.

for now we can use grep -i "disabled" /usr/local/etc/howdy/config.ini | awk -F' = ' '{print "Howdy is " ($2 == "false" ? "enabled" : "disabled")}'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant