Update serv00keep.sh
This commit is contained in:
@@ -139,6 +139,7 @@ uuidport(){
|
|||||||
if [[ -z "$UUID" ]]; then
|
if [[ -z "$UUID" ]]; then
|
||||||
UUID=$(uuidgen -r)
|
UUID=$(uuidgen -r)
|
||||||
echo "$UUID" > UUID.txt
|
echo "$UUID" > UUID.txt
|
||||||
|
export UUID
|
||||||
fi
|
fi
|
||||||
curl -sL https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/app.js -o "$keep_path"/app.js
|
curl -sL https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/app.js -o "$keep_path"/app.js
|
||||||
sed -i '' "15s/name/$snb/g" "$keep_path"/app.js
|
sed -i '' "15s/name/$snb/g" "$keep_path"/app.js
|
||||||
@@ -148,6 +149,7 @@ sed -i '' "75s/where/$snb/g" "$keep_path"/app.js
|
|||||||
if [[ -z "$reym" ]]; then
|
if [[ -z "$reym" ]]; then
|
||||||
reym=$USERNAME.serv00.net
|
reym=$USERNAME.serv00.net
|
||||||
echo "$reym" > reym.txt
|
echo "$reym" > reym.txt
|
||||||
|
export reym
|
||||||
fi
|
fi
|
||||||
if [[ -z "$vless_port" ]] || [[ -z "$vmess_port" ]] || [[ -z "$hy2_port" ]]; then
|
if [[ -z "$vless_port" ]] || [[ -z "$vmess_port" ]] || [[ -z "$hy2_port" ]]; then
|
||||||
check_port
|
check_port
|
||||||
|
|||||||
Reference in New Issue
Block a user