Browse Source
xray-core: add the test script for action checking
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
lilik-openwrt-22.03
Tianling Shen
4 years ago
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
1 changed files with
7 additions and
0 deletions
-
net/xray-core/test.sh
|
|
@ -0,0 +1,7 @@ |
|
|
|
#!/bin/sh |
|
|
|
|
|
|
|
case "$1" in |
|
|
|
"xray-core") |
|
|
|
xray version 2>&1 | grep "${2#*v}" |
|
|
|
;; |
|
|
|
esac |