-
Notifications
You must be signed in to change notification settings - Fork 101
Replacing deferrable reboot with watchcat #1186
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
base: master
Are you sure you want to change the base?
Conversation
Hi! I did not test yet. Just trying to comment the code by eye, I could be wrong: For the Makefile, there is a "new" and more compact format using the libremesh.mk file, you can see many examples in the files modified by this pull request: #1139 It would be helpful to add an example of configuration in lime-example.txt https://github.com/libremesh/lime-packages/blob/master/packages/lime-docs/files/www/docs/lime-example.txt It looks like all the settings are currently hardcoded, is it so? I would not use Google's 8.8.8.8 as the default ping target. Rather, we can use the same that is in place for deferrable-reboot (4.2.2.2 b.resolvers.Level3.net) https://github.com/libremesh/lime-packages/blob/master/packages/lime-docs/files/www/docs/lime-example.txt#L25 |
Nice, so I have a doubt here, do we need to add a fallback configuration if it doesnt find a If we do the last option it will stay with this configuration |
In case an option is not specified in /etc/config/lime-*, it seems more than reasonable to use the fallback from the upstream package actually... Great proposal, thanks! So, if we want to propose a default alternative to 8.8.8.8 we should include it in /etc/config/lime-defaults Also, what about including an "enabled" true/false option? I mean: if, in the future, we decide to include watchcat by default in the firmware images, it should not run before the user chooses the target IP and explicitly decides to enable it. |
I'm still analyzing the enable option, but I wanted to make this push for you to help me testing if its possible :) |
This implementation covers the suggestion made here. The code configures watchcat every time
lime-config
is run.For the moment
deferrable-reboot
has not been removed.Please review and let me know if you think it is safe to remove
deferrable-reboot
entirely, or if further adjustments are needed.