]> git.ipfire.org Git - thirdparty/dracut.git/commit
Add function linkup
authordyoung@redhat.com <dyoung@redhat.com>
Wed, 12 Dec 2012 04:23:22 +0000 (12:23 +0800)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Dec 2012 08:08:59 +0000 (09:08 +0100)
commitb455451f49cdcf0b48b3c8c5f5d81754fc259011
tree2354f664c3a0dfaac969b659afbe8639efbe5300
parentefa5eb424dcf5a64fa6365850a07e4068a6b4309
Add function linkup

set link up usually include two steps, ip link set <dev> up and
wait_for_if_up <dev>. Now do these two steps in one function linkup.
Later patch will add other code into it.

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