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

Allow the execution of a custom script after the default Config_Networks #62

Merged
merged 1 commit into from
Jun 2, 2020
Merged

Conversation

maps2002
Copy link
Contributor

(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.

@jackyaz
Copy link
Owner

jackyaz commented Jun 2, 2020

I haven't forgotten this, I just haven't had the time to look at it fully yet!

@jackyaz jackyaz merged commit 0c3a019 into jackyaz:develop Jun 2, 2020
@jackyaz
Copy link
Owner

jackyaz commented Jun 2, 2020

@maps2002 Merged and amended. Please test latest commit from develop: 949defa

@maps2002
Copy link
Contributor Author

maps2002 commented Jun 2, 2020

Tested and working!
Thank you!

@maps2002 maps2002 deleted the develop branch June 2, 2020 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants