XRAY to XRAYCFG

This commit is contained in:
Samuel Huang
2024-04-02 21:59:23 +11:00
parent 22ee153b25
commit f654cbc5c2

6
run.sh
View File

@@ -50,7 +50,7 @@ while true ; do
echo "${subcmd} Config failed: $DIR/proxy-${subcmd}.sh $2" echo "${subcmd} Config failed: $DIR/proxy-${subcmd}.sh $2"
exit 2 exit 2
else else
XRAY=1 XRAYCFG=1
fi fi
shift 2 shift 2
;; ;;
@@ -118,7 +118,7 @@ while true ; do
;; ;;
-i|--stdin) -i|--stdin)
STDINCONF=1 STDINCONF=1
XRAY=1 XRAYCFG=1
shift 1 shift 1
;; ;;
-d|--debug) -d|--debug)
@@ -136,7 +136,7 @@ while true ; do
esac esac
done done
if [ "${XRAY}" != "1" ]; then if [ "${XRAYCFG}" != "1" ]; then
echo "Missing Xray connection option" echo "Missing Xray connection option"
usage usage
exit 1 exit 1