Allow the execution of a custom script after the default Config_Networks #62
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
(Sorry for messing up with the pull requests)
Hi,
Thank you for your great work!
I found myself executing some custom commands (example: iptables rules to disable internet access on a guest network, forcing another guest network traffic thru Tor, etc), after YazFi executed its own logic.
It seemed more logical to try and incorporate a custom script execution capability inside the YazFi script.
Hope to have placed the script calling in the right place, and maybe it can be useful for others.
Thank you!
PS: I know that the most appropriate place to put the script location path is in the configuration file.
If you find the whole feature useful, I can update the code according to your instructions.