File 0005-fix-starting-dhcpcd-from-ifplugd-bnc-846031.patch of Package sysconfig

From bd76bce39387243c8d55d46a768f3b50acf3090f Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Tue, 5 Nov 2013 11:16:30 +0100
Subject: [PATCH] fix starting dhcpcd from ifplugd (bnc#846031)

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

diff --git a/scripts/ifup b/scripts/ifup
index a3963b2..ee028be 100755
--- a/scripts/ifup
+++ b/scripts/ifup
@@ -308,7 +308,7 @@ ifup)
 	;;
 	esac
 
-	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 start "network@${INTERFACE}.service"
 	fi
 ;;
-- 
1.8.4
openSUSE Build Service is sponsored by