Load the pfsync module if necessary.

Reviewed by:	glebius@
MFC after:	1 week
This commit is contained in:
Dag-Erling Smørgrav 2013-02-05 12:18:39 +00:00
parent 62cd261e07
commit 2a31bde3cd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246358

View File

@ -35,6 +35,7 @@ pfsync_start()
if [ -n "${pfsync_syncpeer}" ]; then
_syncpeer="syncpeer ${pfsync_syncpeer}"
fi
load_kld pfsync
ifconfig pfsync0 $_syncpeer syncdev $pfsync_syncdev $pfsync_ifconfig up
}