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:11:11 -0500
commit0eb97c7c267f9aded64da084c6382f3b8e6ccd0e (patch)
tree5b5cc88bf3b00c5fbada701ed3d6f9a3a3b2896a
parented80365be039ba04473ae64dcb9e122d8f43104e (diff)
downloadpfsense-0eb97c7c267f9aded64da084c6382f3b8e6ccd0e.zip
pfsense-0eb97c7c267f9aded64da084c6382f3b8e6ccd0e.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