aboutsummaryrefslogtreecommitdiff
path: root/net/tailscale/test.sh
blob: f50de6fc0e5b8cef5081438ed2e4ff51bdeed5da (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
if command -v tailscale; then
    tailscale version | grep "$2" || exit 1
fi

if command -v tailscaled; then
    tailscaled -version | grep "$2"
fi