mirror of
https://github.com/samuelhbne/proxy-xray.git
synced 2025-12-18 05:04:37 +03:00
XRAY to XRAYCFG
This commit is contained in:
6
run.sh
6
run.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user