0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 03:29:52 +00:00
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