File 0007-Skip-also-systemd-redirection-for-ifdown-o-ifplugd-b.patch of Package sysconfig.2730

From d920a848a072034c768faefc3f44e67a758df186 Mon Sep 17 00:00:00 2001
From: Marius Tomaschewski <mt@suse.com>
Date: Tue, 5 Nov 2013 15:17:38 +0100
Upstream: yes
References: bnc#846031
Subject: [PATCH] Skip also systemd redirection for ifdown -o ifplugd
 (bnc#846031)

---
 scripts/ifup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ifup b/scripts/ifup
index ee028be..b3dad11 100755
--- a/scripts/ifup
+++ b/scripts/ifup
@@ -313,7 +313,7 @@ ifup)
 	fi
 ;;
 ifdown)
-	if test $PPID -ne 1 -a "$INTERFACE" != "lo" -a "$DHCP" != yes ; then
+	if test $PPID -ne 1 -a "$INTERFACE" != "lo" -a "$DHCP" != yes -a "$CONTROL_IFPLUGD" != no ; then
 		exec systemctl stop "network@${INTERFACE}.service"
 	fi
 
-- 
1.8.4

openSUSE Build Service is sponsored by