public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 455291f90e0729ad8a8edc743d4375f782728ad3
@ 2019-12-01 13:44 Arne Fitzenreiter
  0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2019-12-01 13:44 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2459 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  455291f90e0729ad8a8edc743d4375f782728ad3 (commit)
      from  86409ab1006bd3582d55f59c399385b2c70434e2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 455291f90e0729ad8a8edc743d4375f782728ad3
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Sun Dec 1 14:03:46 2019 +0100

    70-dhcpdd.exe: don't run red.down scripts at "PREINIT"
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/139/filelists/files | 1 +
 src/initscripts/networking/dhcpcd.exe     | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

Difference in files:
diff --git a/config/rootfiles/core/139/filelists/files b/config/rootfiles/core/139/filelists/files
index 3ab3eece1..a08d12e20 100644
--- a/config/rootfiles/core/139/filelists/files
+++ b/config/rootfiles/core/139/filelists/files
@@ -5,6 +5,7 @@ var/ipfire/langs
 etc/httpd/conf/vhosts.d/ipfire-interface.conf
 etc/httpd/conf/vhosts.d/ipfire-interface-ssl.conf
 etc/rc.d/init.d/functions
+etc/rc.d/init.d/networking/dhcpcd.exe
 etc/rc.d/init.d/networking/red
 etc/rc.d/init.d/networking/functions.network
 etc/rc.d/init.d/networking/red.up/23-suricata
diff --git a/src/initscripts/networking/dhcpcd.exe b/src/initscripts/networking/dhcpcd.exe
index a2cdc66d2..5b1c5ab16 100644
--- a/src/initscripts/networking/dhcpcd.exe
+++ b/src/initscripts/networking/dhcpcd.exe
@@ -78,9 +78,11 @@ dhcpcd_down()
 
 	# Only if RED_TYPE=DHCP update /var/ipfire/red
 	if [ "$RED_TYPE" == "DHCP" ]; then
-		logger -p local0.info -t dhcpcd.exe[$$] "${interface} has been brought down"
 		rm -f /var/ipfire/red/active
-		run_subdir ${rc_base}/init.d/networking/red.down/
+		if [ ! $reason == "PREINIT" ]; then
+			logger -p local0.info -t dhcpcd.exe[$$] "${interface} has been brought down"
+			run_subdir ${rc_base}/init.d/networking/red.down/
+		fi
 	fi
 }
 


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-01 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-01 13:44 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 455291f90e0729ad8a8edc743d4375f782728ad3 Arne Fitzenreiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox