forked from 764763903a/xdd-plus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfix.sh
34 lines (27 loc) · 725 Bytes
/
fix.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
if [ "$(grep 'transfer.nz.lu' /etc/hosts)" = "" ];
then
echo "127.0.0.1 transfer.nz.lu" | tee -a /etc/hosts
fi
if [ "$(grep 'nz.lu' /etc/hosts)" = "127.0.0.1 transfer.nz.lu" ];
then
echo "127.0.0.1 nz.lu" | tee -a /etc/hosts
fi
if [ "$(grep 'transfer.nz.lu' /etc/hosts)" = "" ];
then
echo "127.0.0.1 transfer.nz.lu" | tee -a /etc/hosts
fi
if [ "$(grep 'jdsharecode.xyz' /etc/hosts)" = "" ];
then
echo "127.0.0.1 jdsharecode.xyz" | tee -a /etc/hosts
fi
if [ "$(grep 'helpu.cf' /etc/hosts)" = "" ];
then
echo "127.0.0.1 helpu.cf" | tee -a /etc/hosts
fi
#result=$(grep 'smiek.tk' /etc/hosts)
# if [ "$reusult" = "" ]
# then
#$ echo "127.0.0.1 smiek.tk" | sudo tee -a /etc/hosts
# fi
#