summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-26 08:36:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-26 08:36:52 +0000
commit96e23e3e0d31067826b093b9e8b705406a129b15 (patch)
tree3597001c4da0162f34aa28e18201cdc28e4cf41b /etc/rc.bootup
parent83661f77cd410beea9530813db0a9d26370cd966 (diff)
downloadpfsense-96e23e3e0d31067826b093b9e8b705406a129b15.zip
pfsense-96e23e3e0d31067826b093b9e8b705406a129b15.tar.gz
Adhere to previous inerface when needed
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index caf5133..0086bae 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -46,7 +46,7 @@
$do_assign = 0;
if(does_interface_exist($lan_if) == false) $do_assign = 1;
- if($config['interfaces']['wan']['ipaddr'] <> "pppoe" && $config['interfaces']['wan']['ipaddr'] <> "pptp")
+ 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) {
OpenPOWER on IntegriCloud