mirror of
https://github.com/kenzok8/small-package
synced 2025-01-09 08:59:26 +08:00
9 lines
158 B
Bash
9 lines
158 B
Bash
#!/bin/sh
|
|
if command -v tailscale; then
|
|
tailscale version | grep "$2" || exit 1
|
|
fi
|
|
|
|
if command -v tailscaled; then
|
|
tailscaled -version | grep "$2"
|
|
fi
|