summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-29 17:02:37 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-29 17:02:37 +0000
commitc6e604d87565796bd3c0b291f2a731ef17f3ac46 (patch)
tree1b2588f095518031ca99e59d0af918584001aa92 /etc/rc.bootup
parent80e7aa3e00a4682fd96ba05650bf9eee3e97abb1 (diff)
downloadpfsense-c6e604d87565796bd3c0b291f2a731ef17f3ac46.zip
pfsense-c6e604d87565796bd3c0b291f2a731ef17f3ac46.tar.gz
Do a more graceful carp handover.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup22
1 files changed, 12 insertions, 10 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index cc7caaf..e3e897a 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -142,20 +142,18 @@
interfaces_optional_configure();
unmute_kernel_msgs();
echo "done.\n";
-
- /* setup carp interfaces */
- interfaces_carp_configure();
-
- unmute_kernel_msgs();
/* start pflog */
filter_pflog_start();
-
+
+ /* bring up carp interfaces */
+ interfaces_carp_bringup();
+
/* setup altq + pf */
echo "Configuring firewall... ";
- mute_kernel_msgs();
+ //mute_kernel_msgs();
filter_configure();
- unmute_kernel_msgs();
+ //unmute_kernel_msgs();
echo "done.\n";
/* start OpenVPN server & clients */
@@ -220,8 +218,12 @@
/* setup interface microcode which improves tcp/ip speed */
setup_microcode();
- /* bring up carp interfaces */
- interfaces_carp_bringup();
+ /* setup carp interfaces */
+ interfaces_carp_configure();
+
+ mwexec("/sbin/pfctl -f /tmp/rules.debug");
+
+ mwexec("/sbin/pfctl -f /tmp/rules.debug");
/* done */
unlink("{$g['varrun_path']}/booting");
OpenPOWER on IntegriCloud