diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 01:41:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-02-26 01:41:16 +0000 |
commit | d7375115c181885d3f3e1d204250edc742d45129 (patch) | |
tree | c1bc80606760c3f469d81465c982eae5f6ec6e3a /etc/rc.bootup | |
parent | bb17ff995ee61b2667b57da1444dee8f2a5cc047 (diff) | |
download | pfsense-d7375115c181885d3f3e1d204250edc742d45129.zip pfsense-d7375115c181885d3f3e1d204250edc742d45129.tar.gz |
* Correctly deterimine if an interface does not exist
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-x | etc/rc.bootup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup index 9df3f0b..f3549c0 100755 --- a/etc/rc.bootup +++ b/etc/rc.bootup @@ -45,8 +45,8 @@ $do_assign = 0; - if(does_interface_exist($lan_if) == false) $do_assign = 1; - if(does_interface_exist($wan_if) == false) $do_assign = 1; + if(!does_interface_exist($lan_if) == false) $do_assign = 1; + if(!does_interface_exist($wan_if) == false) $do_assign = 1; if($do_assign == 1) { $noreboot = true; |