Optimize acme.sh install

This commit is contained in:
hiCasper
2022-12-10 14:40:06 +08:00
parent 224b91fe0b
commit d7337239f5
11 changed files with 34 additions and 65 deletions
-6
View File
@@ -37,14 +37,8 @@ pkg install -y harfbuzz
# pkg install -y py38-cffi
pkg autoremove -y
#https need
if [ ! -d /root/.acme.sh ];then
curl https://get.acme.sh | sh
fi
if [ -f /usr/sbin/iptables ];then
iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT