This commit is contained in:
Chai Feng 2018-10-05 18:21:52 +08:00
parent ca686dd582
commit 965659601c
No known key found for this signature in database
GPG Key ID: 2DCD9A24E523FFD2

View File

@ -23,7 +23,7 @@ function update-ufw-rules() {
-e 's/="/ /' \ -e 's/="/ /' \
-e 's/"$//' | -e 's/"$//' |
while read id port; do while read id port; do
ufw-allow-or-deny-service "${id}" "${port%*/}" ufw-allow-or-deny-service "${id}" "${port#*/}"
done done
} }