From 96e23e3e0d31067826b093b9e8b705406a129b15 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 26 Feb 2005 08:36:52 +0000 Subject: Adhere to previous inerface when needed --- etc/rc.bootup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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) { -- cgit v1.1