Date: Mon, 16 Apr 2018 16:02:09 +0000 (UTC) From: Kristof Provost <kp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332590 - stable/11/etc/rc.d Message-ID: <201804161602.w3GG29PW088025@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kp Date: Mon Apr 16 16:02:09 2018 New Revision: 332590 URL: https://svnweb.freebsd.org/changeset/base/332590 Log: MFC r331546: pf: reload and resync do the same thing The reload and resync commands for the startup script do exactly the same thing, so implement one as a call to the other. Modified: stable/11/etc/rc.d/pf Directory Properties: stable/11/ (props changed) Modified: stable/11/etc/rc.d/pf ============================================================================== --- stable/11/etc/rc.d/pf Mon Apr 16 16:01:06 2018 (r332589) +++ stable/11/etc/rc.d/pf Mon Apr 16 16:02:09 2018 (r332590) @@ -53,12 +53,12 @@ pf_check() pf_reload() { echo "Reloading pf rules." - $pf_program -n -f "$pf_rules" $pf_flags || return 1 - $pf_program -f "$pf_rules" $pf_flags + pf_resync } pf_resync() { + $pf_program -n -f "$pf_rules" $pf_flags || return 1 $pf_program -f "$pf_rules" $pf_flags }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804161602.w3GG29PW088025>