fix 修复为容器内启动

This commit is contained in:
ZJY 2021-10-20 17:39:17 +08:00
parent 9adbbfdf96
commit ddb088c090

6
fix.sh
View File

@ -2,17 +2,17 @@
if [ "$(grep 'transfer.nz.lu' /etc/hosts)" = "" ]; if [ "$(grep 'transfer.nz.lu' /etc/hosts)" = "" ];
then then
echo "127.0.0.1 transfer.nz.lu" | sudo tee -a /etc/hosts echo "127.0.0.1 transfer.nz.lu" | tee -a /etc/hosts
fi fi
if [ "$(grep 'jdsharecode.xyz' /etc/hosts)" = "" ]; if [ "$(grep 'jdsharecode.xyz' /etc/hosts)" = "" ];
then then
echo "127.0.0.1 jdsharecode.xyz" | sudo tee -a /etc/hosts echo "127.0.0.1 jdsharecode.xyz" | tee -a /etc/hosts
fi fi
if [ "$(grep 'helpu.cf' /etc/hosts)" = "" ]; if [ "$(grep 'helpu.cf' /etc/hosts)" = "" ];
then then
echo "127.0.0.1 helpu.cf" | sudo tee -a /etc/hosts echo "127.0.0.1 helpu.cf" | tee -a /etc/hosts
fi fi
#result=$(grep 'smiek.tk' /etc/hosts) #result=$(grep 'smiek.tk' /etc/hosts)