summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-28 00:18:22 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-28 00:18:22 +0000
commit6ee4c02f87663da266a2a171db7dbb06f8981ec6 (patch)
treef9ede853f67f66b642ebd26282087477e49ed5f4 /etc
parentdc3c40b1028e9fdfa1c05306db8a118515a3dd80 (diff)
downloadpfsense-6ee4c02f87663da266a2a171db7dbb06f8981ec6.zip
pfsense-6ee4c02f87663da266a2a171db7dbb06f8981ec6.tar.gz
Renable interface assignment check code.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.bootup10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 2d65c8c..0086bae 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -49,11 +49,11 @@
if($config['interfaces']['wan']['ipaddr'] <> "pppoe" && $config['interfaces']['wan']['ipaddr'] <> "pptp" && $do_assign == 0)
if(does_interface_exist($wan_if) == false) $do_assign = 1;
- //if($do_assign == 1) {
- // $noreboot = true;
- // echo "\n\n\nInterface mismatch. Running interface assignment option.\n";
- // set_networking_interfaces_ports();
- //}
+ if($do_assign == 1) {
+ $noreboot = true;
+ echo "\n\n\nInterface mismatch. Running interface assignment option.\n";
+ set_networking_interfaces_ports();
+ }
/* convert configuration, if necessary */
convert_config();
OpenPOWER on IntegriCloud