diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-09-10 13:15:59 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-09-10 13:15:59 +0000 |
commit | 9b1c39e3a3d766c94d59fea75f7bf9e96ca87f85 (patch) | |
tree | 5e580d53aab2045c2b2c4daf8eb04c266b476b12 /etc/rc.bootup | |
parent | 1d4bd2bc7926c0ab961e917cb90b0bb21fb9dffe (diff) | |
download | pfsense-9b1c39e3a3d766c94d59fea75f7bf9e96ca87f85.zip pfsense-9b1c39e3a3d766c94d59fea75f7bf9e96ca87f85.tar.gz |
* Fixup stray dots('...') on bootup and add some comments since we do loading of the filters twice during bootup?!
* Merge all interface related bootstraps under interfaces_configure so this allows us to handle propperly assigned bridge/gre/gif/.. devices that might are initialized later than assigned interfaces.
* Make possible configuring multiple dial-out(ppp) interfaces/configs. Though i am not configdent on the quality of the ppp code that was imported before since GUI and backend have some inconsistencies in the fields. While i fixed most of them still 1 or 2 remain which needs propper investigation on the config.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 28fe42f..6bea7cc 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -134,9 +134,6 @@ /* start syslogd */ system_syslogd_start(); - /* set up VLAN virtual interfaces */ - interfaces_vlan_configure(); - /* set up interfaces */ if(!$debugging) mute_kernel_msgs(); @@ -144,30 +141,10 @@ if(!$debugging) unmute_kernel_msgs(); - /* set up GRE virtual interfaces */ - interfaces_gre_configure(); - - /* set up GIF virtual interfaces */ - interfaces_gif_configure(); - - /* set up LAGG virtual interfaces */ - interfaces_lagg_configure(); - - /* set up BRIDGe virtual interfaces */ - interfaces_bridge_configure(); - - /* bring up carp interfaces */ - interfaces_carp_configure(); - - /* bring ip IP aliases */ - interfaces_ipalias_configure(); - /* setup altq + pf */ - echo "Configuring firewall..."; //mute_kernel_msgs(); filter_configure_sync(); //unmute_kernel_msgs(); - echo "done.\n"; /* generate resolv.conf */ system_resolvconf_generate(); @@ -250,6 +227,7 @@ setup_microcode(); echo "done.\n"; + /* XXX: what is up with such hacks!? */ mwexec("/sbin/pfctl -f /tmp/rules.debug"); /* start IPsec tunnels */ @@ -270,6 +248,7 @@ if(isset($config['system']['disableconsolemenu'])) touch("/var/etc/console_lockdown"); + /* XXX: something like this is done 3 times in here?!?!?!?! */ filter_configure_sync(); /* load graphing functions */ |