1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-14 19:33:59 +02:00
openwrt-packages/net/xray-core/test.sh
Tianling Shen 3db3ed5c59
xray-core: add the test script for action checking
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 12:20:22 +08:00

8 lines
85 B
Bash

#!/bin/sh
case "$1" in
"xray-core")
xray version 2>&1 | grep "${2#*v}"
;;
esac