network: don't use "ifup -m"
[dracut.git] / modules.d / 95zfcp / module-setup.sh
blobcfbf48a1a0d241b6f6cd7ae7535812eafa56d97e
1 #!/bin/bash
3 # called by dracut
4 check() {
5 arch=$(uname -m)
6 [ "$arch" = "s390" -o "$arch" = "s390x" ] || return 1
8 require_binaries zfcp_cio_free grep sed seq || return 1
10 return 0
13 # called by dracut
14 depends() {
15 return 0
18 # called by dracut
19 installkernel() {
20 instmods zfcp
23 # called by dracut
24 install() {
25 inst_hook cmdline 30 "$moddir/parse-zfcp.sh"
26 inst_multiple zfcp_cio_free grep sed seq
28 inst_script /sbin/zfcpconf.sh
29 inst_rules 56-zfcp.rules
31 if [[ $hostonly ]]; then
32 inst_simple -H /etc/zfcp.conf