network: don't use "ifup -m"
[dracut.git] / modules.d / 95zfcp_rules / module-setup.sh
blob17b9bb5db6e6a952999206ea46210d279a28aad1
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 zfcp_disk_configure /usr/lib/udev/collect || return 1
8 return 0
11 # called by dracut
12 depends() {
13 return 0
16 # called by dracut
17 install() {
18 inst_multiple /usr/lib/udev/collect
19 inst_hook cmdline 30 "$moddir/parse-zfcp.sh"
20 if [[ $hostonly ]] ; then
21 inst_rules_wildcard 51-zfcp-*.rules