network: don't use "ifup -m"
[dracut.git] / modules.d / 95dasd_mod / module-setup.sh
blob1118b79ed39a78aa3e073c1595fc0b9ca79344e4
1 #!/bin/bash
3 # called by dracut
4 check() {
5 local _arch=$(uname -m)
6 [ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
7 require_binaries grep sed seq
9 return 0
12 # called by dracut
13 depends() {
14 return 0
17 # called by dracut
18 installkernel() {
19 instmods dasd_mod dasd_eckd_mod dasd_fba_mod dasd_diag_mod
22 # called by dracut
23 install() {
24 inst_hook cmdline 31 "$moddir/parse-dasd-mod.sh"
25 inst_multiple grep sed seq
26 inst_multiple -o dasd_cio_free