diff options
author | mtm <mtm@FreeBSD.org> | 2008-07-11 08:11:49 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2008-07-11 08:11:49 +0000 |
commit | cb7c47a58468a67bf24eebba9bedae5fb97a5f05 (patch) | |
tree | d7081e35a7c1456bd98ef754d6d2b712f93a51f3 /etc/rc.d/pf | |
parent | 3b9db50b75a7bbffc2bcab3be2584d5d7cfbd81e (diff) | |
download | FreeBSD-src-cb7c47a58468a67bf24eebba9bedae5fb97a5f05.zip FreeBSD-src-cb7c47a58468a67bf24eebba9bedae5fb97a5f05.tar.gz |
The pfctl(8) program is already pretty verbose, so don't print extra
information in quiet mode.
Diffstat (limited to 'etc/rc.d/pf')
-rw-r--r-- | etc/rc.d/pf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/pf b/etc/rc.d/pf index 80afcc6..f1044a3 100644 --- a/etc/rc.d/pf +++ b/etc/rc.d/pf @@ -25,7 +25,7 @@ required_modules="pf" pf_start() { - echo "Enabling pf." + [ -z "${rc_quiet}" ] && echo "Enabling pf." $pf_program -F all > /dev/null 2>&1 $pf_program -f "$pf_rules" $pf_flags if ! $pf_program -s info | grep -q "Enabled" ; then @@ -36,7 +36,7 @@ pf_start() pf_stop() { if $pf_program -s info | grep -q "Enabled" ; then - echo "Disabling pf." + [ -z "${rc_quiet}" ] && echo "Disabling pf." $pf_program -d fi } |