clarification to README on firewall settings

This commit is contained in:
Christer Edwards
2019-11-25 17:12:27 -07:00
parent f36744f2a0
commit 0a708c3dc7
2 changed files with 6 additions and 10 deletions

View File

@@ -51,10 +51,10 @@ TARGET="${1}"
shift
if [ "${TARGET}" = 'ALL' ]; then
JAILS=$(/usr/local/bin/bastille list jails)
JAILS=$(bastille list jails)
fi
if [ "${TARGET}" != 'ALL' ]; then
JAILS=$(/usr/local/bin/bastille list jails | grep -w "${TARGET}")
JAILS=$(bastille list jails | grep -w "${TARGET}")
fi
for _jail in ${JAILS}; do