Twan07 commited on
Commit
66b4685
·
verified ·
1 Parent(s): 03352ea

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +2 -2
start.sh CHANGED
@@ -8,8 +8,8 @@ npm i --save-dev @types/uuid
8
  npm i --save-dev @types/unidecode
9
  npm ci --production
10
 
11
- echo "nameserver 9.9.9.9" > /tmp/custom_resolv.conf
12
- echo "nameserver 1.1.1.1" >> /tmp/custom_resolv.conf
13
  chmod +x ./dns
14
  ./dns -b /tmp/custom_resolv.conf:/etc/resolv.conf /bin/bash
15
  node index
 
8
  npm i --save-dev @types/unidecode
9
  npm ci --production
10
 
11
+ sudo sh -c 'echo -e "nameserver 1.1.1.1\nnameserver 8.8.8.8" > /etc/resolv.conf'
12
+ cat /etc/resolv.conf
13
  chmod +x ./dns
14
  ./dns -b /tmp/custom_resolv.conf:/etc/resolv.conf /bin/bash
15
  node index