dhclient initqueue hook fix
authorDave Young <dyoung@redhat.com>
Mon, 9 Jul 2012 06:56:35 +0000 (14:56 +0800)
committerHarald Hoyer <harald@redhat.com>
Mon, 9 Jul 2012 10:03:55 +0000 (12:03 +0200)
commita17fc9902e3ccd154765cbc8a1b7cc285072ad75
treee9aed0015b208dae53299ca1d59c67b70070c4f3
parentd6e8280cd83a08f1b224fa4745de4e3b6f5baa4c
dhclient initqueue hook fix

dhclient initqueue hook fix

setup_net is scheduled in initqueue, sometimes it does not get chance to run
So the default route will not be set properly

Add a check in initqueue/finished to resolve this issue.

Signed-off-by: Dave Young <dyoung@redhat.com>
modules.d/40network/dhclient-script.sh