1 次程式碼提交

作者 SHA1 備註 提交日期
1439b5b095 debug version, do not use 2020-04-26 18:01:54 -04:00

查看文件

@@ -952,8 +952,7 @@ EOF"
_firewall_cmd --reload > /dev/null 2>&1
fi
elif [[ "$ID" =~ ^(ubuntu|debian)$ ]]; then
# Debian ufw package state is broken on fresh installations
[[ ! -x $(command -v ufw) ]] && _installPackage --noquery ufw
[[ ! -x $(command -v ufw) ]] && _installPackage ufw
if [[ ! -f "/etc/ufw/applications.d/$1.service" ]]; then
_bash_cmd "cat <<-EOF > /etc/ufw/applications.d/$1.service
[$1]