Merge pull request #73 from cedwards/improvements

quieting pfctl output in start/stop
This commit is contained in:
Christer Edwards
2019-11-25 17:46:00 -07:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ for _jail in ${JAILS}; do
## add ip4.addr to firewall table:jails
if [ ! -z ${bastille_jail_loopback} ]; then
pfctl -t jails -T add $(jls -j ${_jail} ip4.addr)
pfctl -q -t jails -T add $(jls -j ${_jail} ip4.addr)
fi
fi
echo

View File

@@ -66,7 +66,7 @@ for _jail in ${JAILS}; do
elif [ $(jls name | grep -w "${_jail}") ]; then
## remove ip4.addr from firewall table:jails
if [ ! -z ${bastille_jail_loopback} ]; then
pfctl -t jails -T delete $(jls -j ${_jail} ip4.addr)
pfctl -q -t jails -T delete $(jls -j ${_jail} ip4.addr)
fi
## stop container