xray-core: add the test script for action checking
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
56b6ca5d09
commit
3db3ed5c59
1 changed files with 7 additions and 0 deletions
7
net/xray-core/test.sh
Normal file
7
net/xray-core/test.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
"xray-core")
|
||||||
|
xray version 2>&1 | grep "${2#*v}"
|
||||||
|
;;
|
||||||
|
esac
|
Loading…
Reference in a new issue