diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2004-11-09 00:43:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2004-11-09 00:43:04 +0000 |
commit | e5cd29a013f381b624cb0c14fa6f0bfc91afb012 (patch) | |
tree | be3ef3c403ee036d7a4d05d965657a5df7f1876d /etc/rc.bootup | |
parent | 7103e9e662bff420374ffe681d6234da56cec961 (diff) | |
download | pfsense-e5cd29a013f381b624cb0c14fa6f0bfc91afb012.zip pfsense-e5cd29a013f381b624cb0c14fa6f0bfc91afb012.tar.gz |
convert name to pfSense, keep m0n0wall credits
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 81 |
1 files changed, 41 insertions, 40 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 04f8266..a869ab5 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -2,21 +2,22 @@ <?php /* rc.bootup - part of m0n0wall (http://m0n0.ch/wall) - + part of pfSense by Scott Ullrich + originally based on m0n0wall (http://m0n0.ch/wall) + Copyright (C) 2003-2004 Manuel Kasper <mk@neon1.net>. All rights reserved. - + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - + 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE @@ -38,110 +39,110 @@ /* parse the configuration and include all functions used below */ require_once("config.inc"); require_once("functions.inc"); - + /* convert configuration, if necessary */ convert_config(); - + /* run any early shell commands specified in config.xml */ system_do_shell_commands(1); - + /* save dmesg output to file */ system_dmesg_save(); - + /* set up our timezone */ system_timezone_configure(); - + /* set up our hostname */ system_hostname_configure(); - + /* make hosts file */ system_hosts_generate(); - + /* generate resolv.conf */ system_resolvconf_generate(); - + /* start pccardd */ if (!in_array($g['platform'], $g['nopccard_platforms'])) system_pccard_start(); - + /* establish ipfilter ruleset */ filter_configure(); - + /* configure loopback interface */ interfaces_loopback_configure(); - + /* set up VLAN virtual interfaces */ interfaces_vlan_configure(); - + /* set up LAN interface */ interfaces_lan_configure(); - + /* set up WAN interface */ interfaces_wan_configure(); - + /* set up Optional interfaces */ interfaces_optional_configure(); - + /* start OpenVPN server & clients */ ovpn_configure(); - + /* resync ipfilter */ filter_resync(); - + /* start ipmon */ filter_ipmon_start(); - + /* set up static routes */ system_routing_configure(); - + /* enable routing */ system_routing_enable(); - + /* start syslogd */ system_syslogd_start(); - + /* start web server */ system_webgui_start(); - + /* configure console menu */ system_console_configure(); - + /* start dnsmasq service */ services_dnsmasq_configure(); - + /* start dyndns service */ services_dyndns_configure(); - + /* start DHCP service */ services_dhcpd_configure(); - + /* start SNMP service */ services_snmpd_configure(); - + /* start proxy ARP service */ services_proxyarp_configure(); /* start the NTP client */ system_ntp_configure(); - + /* start pptpd */ vpn_pptpd_configure(); - + /* start traffic shaper */ shaper_configure(); - + /* start IPsec tunnels */ vpn_ipsec_configure(); - + /* start the captive portal */ captiveportal_configure(); - + /* execute the rc scripts of extensions */ system_do_extensions(); - + /* run any shell commands specified in config.xml */ system_do_shell_commands(); - + /* done */ unlink("{$g['varrun_path']}/booting"); ?> |