Skip to content

Feature: VPN-not-found label (+ fix of control flow) - #414

Open
schnierstein wants to merge 1 commit into
dracula:masterfrom
schnierstein:feat/add_vpn_not_found_label
Open

schnierstein wants to merge 1 commit into
dracula:masterfrom
schnierstein:feat/add_vpn_not_found_label

Conversation

@schnierstein

Copy link
Copy Markdown

Added the option dracula-network-vpn-not-found-label in network_vpn.sh to let the user change what to display if no VPN is detected. Also added to the documentation.

I also had to add -eq 0 to the tailscale check because
With

    which -s tailscale > /dev/null
    tailscale_installed=$?
    if [ $tailscale_installed ] # <--- always true, even if tailscale not installed
      ...
    fi

So I changed the check to if [ $tailscale_installed -eq 0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant