File 0028-rcnetwork-no-dhcp-in-background-report-to-systemd.patch of Package sysconfig.openSUSE_12.1_Update
From 01f0a1e33f2e3e0a0406b3aa19df4bbdd2557742 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.com>
Date: Tue, 13 Nov 2012 15:13:43 +0100
References: bnc#785240,bnc#780644
Subject: [PATCH 10/11] rcnetwork: no dhcp in background report to systemd
---
scripts/network | 4 +++-
1 Datei geändert, 3 Zeilen hinzugefügt(+), 1 Zeile entfernt(-)
diff --git a/scripts/network b/scripts/network
index 2735d2a..e62a43c 100755
--- a/scripts/network
+++ b/scripts/network
@@ -752,7 +752,9 @@ status() {
;;
$R_DHCP_BG)
if [ -f "$NETWORK_RUNFILE" -a "$M" = yes ] ; then
- : $((F++))
+ if [ "$SD_RUNNING" != "yes" ] ; then
+ : $((F++))
+ fi
fi
rc_startmode="${esc}[1A${stat}${attn}waiting${norm}"
echo -e "$rc_startmode" 1>&2
--
1.7.10.4