]> git.ipfire.org Git - thirdparty/dracut.git/blob - modules.d/40network/module-setup.sh
network-legacy: split off from network module
[thirdparty/dracut.git] / modules.d / 40network / module-setup.sh
1 #!/bin/bash
2
3 # called by dracut
4 depends() {
5 echo "network-legacy"
6 return 0
7 }
8
9 # called by dracut
10 installkernel() {
11 return 0
12 }
13
14 # called by dracut
15 install() {
16 local _arch _i _dir
17
18 inst_script "$moddir/netroot.sh" "/sbin/netroot"
19 inst_simple "$moddir/net-lib.sh" "/lib/net-lib.sh"
20 inst_hook pre-udev 50 "$moddir/ifname-genrules.sh"
21
22 dracut_need_initqueue
23 }