remove wait for net ok function

After recent dracut network changes, waiting for nic ready stuff is handled
in cmdline hooks when generate udev rules. So wait_for_net_ok is not
necessary any more in kdump.sh, Removing the code here.

Signed-off-by: Dave Young <dyoung@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Dave Young 2013-01-28 14:01:05 +08:00
parent ae1db90332
commit 5325594fca
1 changed files with 0 additions and 9 deletions

View File

@ -22,14 +22,6 @@ KDUMP_POST=""
export PATH=$PATH:$KDUMP_SCRIPT_DIR
# we use manual setup nics in udev rules,
# so we need to test network is really ok
wait_for_net_ok() {
local ip=$(getarg ip)
local iface=`echo $ip|cut -d':' -f1`
return $(wait_for_route_ok $iface)
}
do_default_action()
{
wait_for_loginit
@ -204,7 +196,6 @@ read_kdump_conf()
add_dump_code "dump_raw $config_val"
;;
ssh)
wait_for_net_ok
add_dump_code "dump_ssh $SSH_KEY_LOCATION $config_val"
;;
esac