mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
xray-core: add the test script for action checking
Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user