mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Optimize acme.sh install
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user