summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
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