net-lib: add find_iface_with_link()
authorWill Woods <wwoods@redhat.com>
Thu, 23 Aug 2012 20:31:09 +0000 (16:31 -0400)
committerHarald Hoyer <harald@redhat.com>
Thu, 13 Jun 2013 12:07:17 +0000 (14:07 +0200)
commitbd0f2c034a58f555d92e266552ce857e442eef0e
tree9b7403293616210956670865ba9d4e25564a680b
parentd8a698713e8d9b5763cbf8417860f0b7d8558aaa
net-lib: add find_iface_with_link()

Add a function to look at the system network interfaces and return the
first one it finds with an active link (if any.)
modules.d/40network/net-lib.sh