summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-02-26 04:58:46 +0000
committerBill Marquette <billm@pfsense.org>2005-02-26 04:58:46 +0000
commit872233757a8efc52a335a2249fb0e2f6ca092680 (patch)
tree9bc6971d842a4f16143251796673cf809bcd8f66 /etc/rc.bootup
parent28c72c13224c302606a265b36b18e415814a72ce (diff)
downloadpfsense-872233757a8efc52a335a2249fb0e2f6ca092680.zip
pfsense-872233757a8efc52a335a2249fb0e2f6ca092680.tar.gz
Fix pppoe
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index 9df3f0b..caf5133 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -46,11 +46,12 @@
$do_assign = 0;
if(does_interface_exist($lan_if) == false) $do_assign = 1;
- if(does_interface_exist($wan_if) == false) $do_assign = 1;
+ if($config['interfaces']['wan']['ipaddr'] <> "pppoe" && $config['interfaces']['wan']['ipaddr'] <> "pptp")
+ if(does_interface_exist($wan_if) == false) $do_assign = 1;
if($do_assign == 1) {
$noreboot = true;
- echo "\n\n\nInterface mistmatch. Running Interface assignment option.\n";
+ echo "\n\n\nInterface mismatch. Running interface assignment option.\n";
set_networking_interfaces_ports();
}
OpenPOWER on IntegriCloud