]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Respect ZEROCONF variable for dhcpcd.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 17 May 2010 19:08:57 +0000 (19:08 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 17 May 2010 19:08:57 +0000 (19:08 +0000)
svn-id: @11472

sysconfig/network-scripts/ifup

index 11e09b375e51dc32b946dc6ce2e3a36fa1d3c502..8242e4d31f0e45841da5a28887e425a67a39c909 100755 (executable)
@@ -147,6 +147,9 @@ if [ -n "$BOOTPROTO" -a "$BOOTPROTO" != "none" -a "$BOOTPROTO" != "static" ]; th
                          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"
This page took 0.228483 seconds and 4 git commands to generate.