network: don't use "ifup -m"
[dracut.git] / modules.d / 95znet / module-setup.sh
blobebe740e326adf05939964a3d87e00bcaea51804d
1 #!/bin/bash
3 # called by dracut
4 check() {
5 arch=$(uname -m)
6 [ "$arch" = "s390" -o "$arch" = "s390x" ] || return 1
8 require_binaries znet_cio_free grep sed seq readlink || return 1
10 return 0
13 # called by dracut
14 depends() {
15 return 0
18 # called by dracut
19 installkernel() {
20 instmods ctcm lcs qeth qeth_l2 qeth_l3
23 # called by dracut
24 install() {
25 inst_hook cmdline 30 "$moddir/parse-ccw.sh"
26 inst_rules 81-ccw.rules
27 inst_multiple znet_cio_free grep sed seq readlink /lib/udev/ccw_init