xdd-plus/fix.sh
2021-10-20 16:39:34 +08:00

25 lines
498 B
Bash

#!/bin/bash
if [ "$(grep 'transfer.nz.lu' /etc/hosts)" = "" ];
then
echo "127.0.0.1 transfer.nz.lu" | sudo tee -a /etc/hosts
fi
if [ "$(grep 'jdsharecode.xyz' /etc/hosts)" = "" ];
then
echo "127.0.0.1 jdsharecode.xyz" | sudo tee -a /etc/hosts
fi
if [ "$(grep 'helpu.cf' /etc/hosts)" = "" ];
then
echo "127.0.0.1 helpu.cf" | sudo 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
#