Elysiadev11 commited on
Commit
dc78112
Β·
verified Β·
1 Parent(s): 256baa7

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +4 -2
start-openclaw.sh CHANGED
@@ -19,11 +19,13 @@ echo ">>> Directories ready."
19
  python3 /app/sync.py restore
20
  echo ">>> Restore done."
21
 
22
- # ── 3. Fix DNS ────────────────────────────────────────────────
23
  echo "nameserver 1.1.1.1" >> /etc/resolv.conf
24
  echo "nameserver 8.8.8.8" >> /etc/resolv.conf
25
  echo "nameserver 8.8.4.4" >> /etc/resolv.conf
26
- echo ">>> DNS fixed with Cloudflare & Google."
 
 
27
 
28
  # ── 4. Chromium ───────────────────────────────────────────────
29
  export PLAYWRIGHT_BROWSERS_PATH=/root/.openclaw/browsers
 
19
  python3 /app/sync.py restore
20
  echo ">>> Restore done."
21
 
22
+ # ── 3. Fix DNS & Hosts (TELEGRAM FIX) ─────────────────────────
23
  echo "nameserver 1.1.1.1" >> /etc/resolv.conf
24
  echo "nameserver 8.8.8.8" >> /etc/resolv.conf
25
  echo "nameserver 8.8.4.4" >> /etc/resolv.conf
26
+ # Memaksa routing Telegram agar tidak diblokir oleh DNS internal K8s HF
27
+ echo "149.154.166.110 api.telegram.org" >> /etc/hosts
28
+ echo ">>> DNS and Hosts fixed for Telegram."
29
 
30
  # ── 4. Chromium ───────────────────────────────────────────────
31
  export PLAYWRIGHT_BROWSERS_PATH=/root/.openclaw/browsers