From e2e9f01c9712c90093506f46b6a3a648e8338edc Mon Sep 17 00:00:00 2001 From: kp Date: Mon, 16 Apr 2018 16:02:54 +0000 Subject: [PATCH] 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. git-svn-id: svn://svn.freebsd.org/base/stable/10@332591 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- etc/rc.d/pf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/rc.d/pf b/etc/rc.d/pf index 5dff06680..2167c9ea9 100755 --- a/etc/rc.d/pf +++ b/etc/rc.d/pf @@ -52,12 +52,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 } -- 2.42.0