diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-05-30 18:13:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-05-30 18:13:26 +0000 |
commit | 74dbce1fa87062d286b9f968630a19c0738a5580 (patch) | |
tree | 13a348024098fc99a73cba8f410c5e8aa569c925 /etc/rc.bootup | |
parent | b451b6ab060c041f5e08769f8fd7dea59c76c0cf (diff) | |
download | pfsense-74dbce1fa87062d286b9f968630a19c0738a5580.zip pfsense-74dbce1fa87062d286b9f968630a19c0738a5580.tar.gz |
More bootup cleanups
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index f32eaea..6dd3bb3 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -41,9 +41,9 @@ require_once("config.inc"); require_once("functions.inc"); - print "Loading configuration... "; + echo "Loading configuration... "; parse_config_bootup(); - print "done.\n"; + echo "done.\n"; $lan_if = $config['interfaces']['lan']['if']; $wan_if = get_real_wan_interface(); @@ -74,12 +74,13 @@ } /* convert config and clean backups */ - print "Updating configuration... "; + echo "Updating configuration... "; convert_config(); - print "done.\n"; + echo "done.\n"; - print "Cleaning backup cache... "; + echo "Cleaning backup cache... "; cleanup_backupcache(true); + echo "done.\n"; /* read in /etc/sysctl.conf and set values if needed */ system_setup_sysctl(); @@ -113,25 +114,25 @@ interfaces_vlan_configure(); /* set up LAN interface */ - print "Configuring LAN interface... "; + echo "Configuring LAN interface... "; mute_kernel_msgs(); interfaces_lan_configure(); unmute_kernel_msgs(); - print "done.\n"; + echo "done.\n"; /* set up WAN interface */ - print "Configuring WAN interface... "; + echo "Configuring WAN interface... "; mute_kernel_msgs(); interfaces_wan_configure(); unmute_kernel_msgs(); - print "done.\n"; + echo "done.\n"; /* set up Optional interfaces */ - print "Configuring OPT interfaces..."; + echo "Configuring OPT interfaces..."; mute_kernel_msgs(); interfaces_optional_configure(); unmute_kernel_msgs(); - print "done.\n"; + echo "done.\n"; /* setup carp interfaces */ interfaces_carp_configure(); @@ -142,8 +143,11 @@ filter_pflog_start(); /* setup altq + pf */ - print "Configuring firewall...\n"; + echo "Configuring firewall..."; + mute_kernel_msgs(); filter_configure(); + unmute_kernel_msgs(); + echo "done.\n"; /* bring up carp interfaces */ interfaces_carp_bringup(); @@ -197,9 +201,9 @@ system_do_shell_commands(); /* start ftp proxy helpers if they are enabled */ - print "Starting FTP helpers... "; + echo "Starting FTP helpers... "; system_start_ftp_helpers(); - print "done.\n"; + echo "done.\n"; /* start IPsec tunnels */ vpn_ipsec_configure(); |