From 0eb97c7c267f9aded64da084c6382f3b8e6ccd0e Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Mon, 9 May 2016 16:10:48 -0500 Subject: fix booting check --- src/etc/rc.newwanip | 2 +- src/etc/rc.newwanipv6 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/etc') 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 -- cgit v1.1