Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
playground
>
dracut
> 0097-40network-dhclient-script-be-more-verbose.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 0097-40network-dhclient-script-be-more-verbose.patch of Package dracut
From e06063284c44213890a9a28236df6a4fb67c2f39 Mon Sep 17 00:00:00 2001 From: Harald Hoyer <harald@redhat.com> Date: Wed, 19 May 2010 09:33:20 +0200 Subject: [PATCH] 40network/dhclient-script: be more verbose --- modules.d/40network/dhclient-script | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules.d/40network/dhclient-script b/modules.d/40network/dhclient-script index ac7d5e1..3efbc2d 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 -- 1.8.3.1