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