Skip to content

nm-vpn script: awk-free + refactoring#159

Open
VKolegov wants to merge 1 commit intoregolith-linux:masterfrom
VKolegov:master
Open

nm-vpn script: awk-free + refactoring#159
VKolegov wants to merge 1 commit intoregolith-linux:masterfrom
VKolegov:master

Conversation

@VKolegov
Copy link

@VKolegov VKolegov commented Dec 2, 2025

Slightly more readable and easy-to-maintain version

  • Expanded list of possibe connection names
  • Dropped piping to awk (pure bash - less resources)

@kgilmer
Copy link
Member

kgilmer commented Dec 3, 2025

Thanks @VKolegov , looks good! Can you briefly mention how you tested? Did you test the case where no VPN connection is active?

@VKolegov
Copy link
Author

VKolegov commented Dec 3, 2025

@kgilmer Sure!

Here are 3 states(active connections) I was able to test (vpn, tun, no connection except wired ethernet)

image image image

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

Successfully merging this pull request may close these issues.

2 participants