forked from axiom-team/astrXbian
/etc/resolv.conf
This commit is contained in:
parent
701c052cc0
commit
39b615d585
|
@ -115,8 +115,8 @@ echo "$XZUID" > ~/.zen/ipfs/.${IPFSNODEID}/_xbian.zuid
|
||||||
echo "CREATE + profile"
|
echo "CREATE + profile"
|
||||||
########################################################################
|
########################################################################
|
||||||
cd ~/.zen/astrXbian/zen/jaklis
|
cd ~/.zen/astrXbian/zen/jaklis
|
||||||
./jaklis.py -n "https://g1.data.e-is.pro" set --name "$XZUID" --avatar "$HOME/.zen/astrXbian/logo.png" #CESIUM+
|
./jaklis.py -n "https://g1.data.e-is.pro" set --name "$XZUID" --avatar "/home/xbian/.zen/astrXbian/logo.png" #CESIUM+
|
||||||
./jaklis.py -n "https://data.gchange.fr" set --name "$XZUID" --avatar "$HOME/.zen/astrXbian/logo.png" #GCHANGE+
|
./jaklis.py -n "https://data.gchange.fr" set --name "$XZUID" --avatar "/home/xbian/.zen/astrXbian/logo.png" #GCHANGE+
|
||||||
|
|
||||||
########################################################################
|
########################################################################
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -183,13 +183,14 @@ sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hostname
|
||||||
sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hosts
|
sudo sed -i "s/$astrxbian/$XZUID/g" /etc/hosts
|
||||||
|
|
||||||
echo "CHANGE DNS" # Avoid provider restrictions
|
echo "CHANGE DNS" # Avoid provider restrictions
|
||||||
sudo mv /etc/resolv.conf /etc/resolv.conf.old
|
sudo chattr -i /etc/resolv.conf
|
||||||
sudo cat > /etc/resolv.conf <<EOF
|
sudo cat > /tmp/resolv.conf <<EOF
|
||||||
domain home
|
domain home
|
||||||
search home
|
search home
|
||||||
nameserver 80.67.169.12 80.67.169.40 94.247.43.254 2001:67c:13e4:1::37
|
nameserver 80.67.169.12 80.67.169.40 94.247.43.254 2001:67c:13e4:1::37
|
||||||
# FFDN.org opennic.org = ns8.he.de + ns5.ru
|
# FFDN.org opennic.org = ns8.he.de + ns5.ru
|
||||||
EOF
|
EOF
|
||||||
|
sudo mv /tmp/resolv.conf /etc/resolv.conf
|
||||||
sudo chattr +i /etc/resolv.conf
|
sudo chattr +i /etc/resolv.conf
|
||||||
|
|
||||||
# WRITE ~/.zen/ipfs.sync CONFIG (meaning DONE)
|
# WRITE ~/.zen/ipfs.sync CONFIG (meaning DONE)
|
||||||
|
|
Loading…
Reference in New Issue