summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-05-09 16:10:48 -0500
committerChris Buechler <cmb@pfsense.org>2016-05-09 16:10:48 -0500
commitb8735779fb7c50645443d997f5ae679e30800024 (patch)
treee93883e7d3036386eb8bb5993fea962f967505fa
parent6a5c6661960e1cd39e3caf66a3caaeb2678d27b1 (diff)
downloadpfsense-b8735779fb7c50645443d997f5ae679e30800024.zip
pfsense-b8735779fb7c50645443d997f5ae679e30800024.tar.gz
fix booting check
-rwxr-xr-xsrc/etc/rc.newwanip2
-rwxr-xr-xsrc/etc/rc.newwanipv62
2 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip
index 05eb960..6946918 100755
--- a/src/etc/rc.newwanip
+++ b/src/etc/rc.newwanip
@@ -190,7 +190,7 @@ if (!empty($gre)) {
}
}
-if (platform_booting) {
+if (platform_booting()) {
// avoid race conditions in many of the below functions that occur during boot
// setting up gateways monitor doesn't seem to have issues here, and fixes the
// most commonly encountered bugs from earlier versions when everything below
diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6
index 160ed441..d8be18e 100755
--- a/src/etc/rc.newwanipv6
+++ b/src/etc/rc.newwanipv6
@@ -145,7 +145,7 @@ system_routing_configure($interface);
/* reconfigure our gateway monitor */
setup_gateways_monitor();
-if (platform_booting) {
+if (platform_booting()) {
// avoid race conditions in many of the below functions that occur during boot
// setting up gateways monitor doesn't seem to have issues here, and fixes the
// most commonly encountered bugs from earlier versions when everything below
OpenPOWER on IntegriCloud