25 lines
483 B
Bash
25 lines
483 B
Bash
#!/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 '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
|
|
#
|
|
|