onlyrickroll commited on
Commit
c8ec589
路
verified 路
1 Parent(s): e0a846d

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +11 -6
entrypoint.sh CHANGED
@@ -5,7 +5,7 @@ mkdir -p ~/.nanobot/workspace
5
  mkdir -p /tmp/agent_slots
6
  echo $PATH
7
 
8
- echo "tgproxy.806044.xyz api.telegram.org" | tee -a /etc/hosts
9
 
10
  #apt install dnsutils -y
11
 
@@ -61,11 +61,11 @@ curl -Lo /usr/local/bin/ttyd https://github.com/tsl0922/ttyd/releases/download/1
61
  # 淇敼 entrypoint.sh 涓殑 ttyd 鍚姩鍛戒护
62
  ttyd bash &
63
  #sh /app/test.sh &&sleep 80
64
- apt install wget sudo -y
65
- wget -q https://github.com/v2rayA/v2rayA/releases/download/v2.3.2/installer_debian_x64_2.3.2.deb && \
66
- wget -q https://raw.githubusercontent.com/v2rayA/v2raya-apt/refs/heads/master/pool/main/x/xray/xray_25.8.3_amd64.deb && \
67
- apt update && apt-get install -y ./installer_debian_x64_2.3.2.deb ./xray_25.8.3_amd64.deb && \
68
- rm installer_debian_x64_2.3.2.deb && rm xray_25.8.3_amd64.deb
69
 
70
  #bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
71
 
@@ -74,6 +74,11 @@ wget -q https://github.com/v2rayA/v2rayA/releases/download/v2.3.2/installer_debi
74
  #zerotier-cli join 8d1c312afaa97775
75
 
76
  #v2raya --lite &
 
 
 
 
 
77
  #curl -I https://discord.com
78
  curl -Iv https://api.telegram.org
79
 
 
5
  mkdir -p /tmp/agent_slots
6
  echo $PATH
7
 
8
+ #echo "tgproxy.806044.xyz api.telegram.org" | tee -a /etc/hosts
9
 
10
  #apt install dnsutils -y
11
 
 
61
  # 淇敼 entrypoint.sh 涓殑 ttyd 鍚姩鍛戒护
62
  ttyd bash &
63
  #sh /app/test.sh &&sleep 80
64
+ #apt install wget sudo -y
65
+ #wget -q https://github.com/v2rayA/v2rayA/releases/download/v2.3.2/installer_debian_x64_2.3.2.deb && \
66
+ # wget -q https://raw.githubusercontent.com/v2rayA/v2raya-apt/refs/heads/master/pool/main/x/xray/xray_25.8.3_amd64.deb && \
67
+ # apt update && apt-get install -y ./installer_debian_x64_2.3.2.deb ./xray_25.8.3_amd64.deb && \
68
+ # rm installer_debian_x64_2.3.2.deb && rm xray_25.8.3_amd64.deb
69
 
70
  #bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
71
 
 
74
  #zerotier-cli join 8d1c312afaa97775
75
 
76
  #v2raya --lite &
77
+
78
+
79
+
80
+ sh /app/setup_proxy.sh api.telegram.org tgproxy.806044.xyz
81
+
82
  #curl -I https://discord.com
83
  curl -Iv https://api.telegram.org
84