Only set nettype to 'dhcp' if valid address was found SLES-11-SP1
authorHannes Reinecke <hare@suse.de>
Tue, 13 Apr 2010 08:20:25 +0000 (10:20 +0200)
committerHannes Reinecke <hare@suse.de>
Tue, 13 Apr 2010 08:20:25 +0000 (10:20 +0200)
commit9912575377627df183924acb292adf2864a275a9
treeb8b4e746266287ad4cceed50815772d358eafb31
parent80a3fb65ecb59f4cb8ab47655b936f4dfb6761c1
Only set nettype to 'dhcp' if valid address was found

The attribute 'dhcp' is not sufficient to determine if
dhcp was activated. We should be reading the contents of it
and only enable dhcp if a valid address was found.

References: bnc#576601

Signed-off-by: Hannes Reinecke <hare@suse.de>
mkinitrd.changes
scripts/boot-ibft.sh
scripts/setup-ibft.sh