]> git.ipfire.org Git - thirdparty/dracut.git/commit
network: refactor stuff from netroot/parse-ip-opts to net-lib
authorWill Woods <wwoods@redhat.com>
Tue, 6 Mar 2012 23:25:24 +0000 (18:25 -0500)
committerHarald Hoyer <harald@redhat.com>
Thu, 8 Mar 2012 10:01:40 +0000 (11:01 +0100)
commit25aa3c5a6eb48d14972b5c658cc7231d8f100ea8
tree35661a84fe95031590573b7bd0c672b539fb8bc7
parent4d518aec8614cafe96f585458f97e43d80fe3aa5
network: refactor stuff from netroot/parse-ip-opts to net-lib

Add new functions: all_ifaces_up, get_netroot_ip, ip_is_local, ifdown,
setup_net, set_ifname, ibft_to_cmdline

Use them in netroot.sh and parse-ip-opts.sh.

There's also a couple little unrelated cleanups.
modules.d/40network/net-lib.sh
modules.d/40network/netroot.sh
modules.d/40network/parse-ip-opts.sh