SVN: rc-scripts/trunk/sysconfig/network-scripts/ifup

arekm arekm at pld-linux.org
Mon May 17 21:08:58 CEST 2010


Author: arekm
Date: Mon May 17 21:08:57 2010
New Revision: 11472

Modified:
   rc-scripts/trunk/sysconfig/network-scripts/ifup
Log:
Respect ZEROCONF variable for dhcpcd.

Modified: rc-scripts/trunk/sysconfig/network-scripts/ifup
==============================================================================
--- rc-scripts/trunk/sysconfig/network-scripts/ifup	(original)
+++ rc-scripts/trunk/sysconfig/network-scripts/ifup	Mon May 17 21:08:57 2010
@@ -147,6 +147,9 @@
 			  dhcpcd)
 				[ -n "$DHCP_HOSTNAME" ] && DHCP_ARGS="-h $DHCP_HOSTNAME"
 				DHCP_ARGS="$DHCP_ARGS $DEVICE"
+				if is_no "$ZEROCONF"; then
+					DHCP_ARGS="$DHCP_ARGS --noipv4ll"
+				fi
 				;;
 			  dhcpxd)
 				[ -n "$DHCP_HOSTNAME" ] && DHCP_ARGS="-H $DHCP_HOSTNAME"


More information about the pld-cvs-commit mailing list