diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 08:36:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 08:36:52 +0000 |
commit | 96e23e3e0d31067826b093b9e8b705406a129b15 (patch) | |
tree | 3597001c4da0162f34aa28e18201cdc28e4cf41b /etc/rc.bootup | |
parent | 83661f77cd410beea9530813db0a9d26370cd966 (diff) | |
download | pfsense-96e23e3e0d31067826b093b9e8b705406a129b15.zip pfsense-96e23e3e0d31067826b093b9e8b705406a129b15.tar.gz |
Adhere to previous inerface when needed
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 2 |
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) { |