mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 03:54:34 +04:00
tailscale: add version tests
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
This commit is contained in:
8
net/tailscale/test.sh
Normal file
8
net/tailscale/test.sh
Normal file
@@ -0,0 +1,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
|
||||||
Reference in New Issue
Block a user