From edbcdd0ffec89c436391f477a195fa1ce48141f4 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 14 Jan 2018 09:54:59 +0100 Subject: [PATCH] rc: annotate boot ignore, there is probably a race PR: https://forum.opnsense.org/index.php?topic=6843.0 --- src/etc/rc.newwanip | 1 + src/etc/rc.newwanipv6 | 1 + 2 files changed, 2 insertions(+) diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip index 5295f7df2..c7232a4fc 100755 --- a/src/etc/rc.newwanip +++ b/src/etc/rc.newwanip @@ -40,6 +40,7 @@ require_once("interfaces.inc"); // Do not process while booting if (file_exists('/var/run/booting')) { + log_error("IP renewal ignored during boot on '{$argument}'"); return; } diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6 index bb5c17897..bf5d66643 100755 --- a/src/etc/rc.newwanipv6 +++ b/src/etc/rc.newwanipv6 @@ -40,6 +40,7 @@ require_once("interfaces.inc"); // Do not process while booting if (file_exists('/var/run/booting')) { + log_error("IP renewal ignored during boot on '{$argument}'"); return; }