version 1.557, 2022/06/26 08:08:23 |
version 1.558, 2022/06/26 09:36:13 |
|
|
|
|
reorder_libs |
reorder_libs |
|
|
# If interface autoconf exists, pause a little for at least one default route |
|
if ifconfig | grep -q ': flags=.*<.*AUTOCONF.*>'; then |
|
count=0 |
|
while ((count++ < 20)); do |
|
route -n show | grep -q ^default && break |
|
sleep .5 |
|
done |
|
fi |
|
|
|
# Load pf rules and bring up pfsync interface. |
# Load pf rules and bring up pfsync interface. |
if [[ $pf != NO ]]; then |
if [[ $pf != NO ]]; then |
if [[ -f /etc/pf.conf ]]; then |
if [[ -f /etc/pf.conf ]]; then |