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

NetworkManager overriding resolv.conf #2

Open
alirezaalavi87 opened this issue May 24, 2023 · 0 comments
Open

NetworkManager overriding resolv.conf #2

alirezaalavi87 opened this issue May 24, 2023 · 0 comments

Comments

@alirezaalavi87
Copy link

The script has to check if networkmanager is installed and running, and if true, set the dns from networkmanager and not directly write to resolv.conf
because it will be overridden by networkmanager
here is how to set dns from networkmanager

alirezaalavi87 added a commit to alirezaalavi87/shecanman that referenced this issue May 24, 2023
this is related to [this issue](rezdh#2)
also, fixed some deeply nested ifs
alirezaalavi87 added a commit to alirezaalavi87/shecanman that referenced this issue May 24, 2023
This is related to [this issue](rezdh#2)
Also fixed some deeply nested if statements for cleaner code
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