From: Harald Hoyer Date: Wed, 19 May 2010 07:33:20 +0000 (+0200) Subject: 40network/dhclient-script: be more verbose X-Git-Tag: 006~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ab1426534a945fb4958a819f1ad505423792aef;p=thirdparty%2Fdracut.git 40network/dhclient-script: be more verbose --- diff --git a/modules.d/40network/dhclient-script b/modules.d/40network/dhclient-script index ac7d5e1ca..3efbc2d32 100755 --- a/modules.d/40network/dhclient-script +++ b/modules.d/40network/dhclient-script @@ -60,10 +60,12 @@ netif=$interface case $reason in PREINIT) + echo "dhcp: PREINIT $netif up" ip link set $netif up wait_for_if_up $netif ;; BOUND) + echo "dhcp: BOND setting $netif" if ! arping -q -D -c 2 -I $netif $new_ip_address ; then warn "Duplicate address detected for $new_ip_address while doing dhcp. retrying" exit 1 @@ -76,7 +78,7 @@ case $reason in echo online > /sys/class/net/$netif/uevent /sbin/initqueue --onetime --name netroot-$netif /sbin/netroot $netif ;; - *) ;; + *) echo "dhcp: $reason";; esac exit 0