summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-02-26 01:41:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-02-26 01:41:16 +0000
commitd7375115c181885d3f3e1d204250edc742d45129 (patch)
treec1bc80606760c3f469d81465c982eae5f6ec6e3a /etc/rc.bootup
parentbb17ff995ee61b2667b57da1444dee8f2a5cc047 (diff)
downloadpfsense-d7375115c181885d3f3e1d204250edc742d45129.zip
pfsense-d7375115c181885d3f3e1d204250edc742d45129.tar.gz
* Correctly deterimine if an interface does not exist
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup4
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;
OpenPOWER on IntegriCloud