Commit bcfbebff authored by nanahira's avatar nanahira

fix warp-cli commands

parent ff0d6b6f
Pipeline #34001 passed with stages
in 36 seconds
...@@ -16,13 +16,13 @@ initProxy() { ...@@ -16,13 +16,13 @@ initProxy() {
if [[ ! -f "/var/lib/cloudflare-warp/reg.json" ]]; then if [[ ! -f "/var/lib/cloudflare-warp/reg.json" ]]; then
if [[ -n "$WARP_LICENSE" ]]; then if [[ -n "$WARP_LICENSE" ]]; then
warp-cli --accept-tos set-license "$WARP_LICENSE" warp-cli --accept-tos registration license "$WARP_LICENSE"
else else
warp-cli --accept-tos register warp-cli --accept-tos registration new
fi fi
fi fi
warp-cli set-mode proxy warp-cli mode proxy
warp-cli set-proxy-port $LOCAL_PROXY_PORT warp-cli proxy port $LOCAL_PROXY_PORT
warp-cli connect warp-cli connect
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment