add 增加屏蔽助力池脚本
This commit is contained in:
parent
8cd6a2ae92
commit
8eb20707c7
24
fix.sh
Normal file
24
fix.sh
Normal file
@ -0,0 +1,24 @@
|
||||
#!/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
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user