xdd-plus/fix.sh

25 lines
483 B
Bash
Raw Normal View History

2021-10-20 16:39:34 +08:00
#!/bin/bash
if [ "$(grep 'transfer.nz.lu' /etc/hosts)" = "" ];
then
2021-10-20 17:39:17 +08:00
echo "127.0.0.1 transfer.nz.lu" | tee -a /etc/hosts
2021-10-20 16:39:34 +08:00
fi
if [ "$(grep 'jdsharecode.xyz' /etc/hosts)" = "" ];
then
2021-10-20 17:39:17 +08:00
echo "127.0.0.1 jdsharecode.xyz" | tee -a /etc/hosts
2021-10-20 16:39:34 +08:00
fi
if [ "$(grep 'helpu.cf' /etc/hosts)" = "" ];
then
2021-10-20 17:39:17 +08:00
echo "127.0.0.1 helpu.cf" | tee -a /etc/hosts
2021-10-20 16:39:34 +08:00
fi
#result=$(grep 'smiek.tk' /etc/hosts)
# if [ "$reusult" = "" ]
# then
#$ echo "127.0.0.1 smiek.tk" | sudo tee -a /etc/hosts
# fi
#