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

Feature request: Automatically use current netname when in corresponding directory #132

Open
Buzz627 opened this issue Nov 11, 2016 · 1 comment
Labels
1.1 Issue related to Tinc 1.1 enhancement New feature requests or performance improvement.

Comments

@Buzz627
Copy link

Buzz627 commented Nov 11, 2016

Currently in tinc 1.1 if you call tinc start it will look for a tinc.conf file in etc/tinc/tinc.conf to use a certain network you must call tinc -n netname start even if you are in the netname directory. Could we get it so that if you are in etc/tinc/netname/ tinc will use the tinc.conf of the directory that i am in and not default to the general one? It should be just a small change, but it would make things a little bit easier.

@gsliepen
Copy link
Owner

On Fri, Nov 11, 2016 at 01:21:50PM -0800, Buzz Lakata wrote:

Currently in tinc 1.1 if you call tinc start it will look for a tinc.conf file in etc/tinc/tinc.conf to use a certain network you must call tinc -n netname start even if you are in the netname directory. Could we get it so that if you are in etc/tinc/netname/ tinc will use the tinc.conf of the directory that i am in and not default to the general one? It should be just a small change, but it would make things a little bit easier.

Interesting suggestion! I could add this, only for "tinc" when it
detects it is in an interactive terminal.

Note that you don't have to be in /etc/tinc with 1.1 anymore. Even if you
want to manually edit tinc.conf instead of using the tinc CLI to change
variables, you can just type "tinc -n netname edit tinc.conf" anywhere
you are.

Met vriendelijke groet / with kind regards,
Guus Sliepen [email protected]

@fangfufu fangfufu added the enhancement New feature requests or performance improvement. label Jun 23, 2021
@gsliepen gsliepen added the 1.1 Issue related to Tinc 1.1 label Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.1 Issue related to Tinc 1.1 enhancement New feature requests or performance improvement.
Projects
None yet
Development

No branches or pull requests

3 participants