network: don't use "ifup -m"
[dracut.git] / modules.d / 80cms / module-setup.sh
blob1afac163f493a29ae7572be45b50ddad830b7f59
1 #!/bin/bash
3 # called by dracut
4 check() {
5 arch=$(uname -m)
6 [ "$arch" = "s390" -o "$arch" = "s390x" ] || return 1
7 return 255
10 # called by dracut
11 depends() {
12 arch=$(uname -m)
13 [ "$arch" = "s390" -o "$arch" = "s390x" ] || return 1
14 echo znet zfcp dasd dasd_mod
15 return 0
18 # called by dracut
19 installkernel() {
20 instmods zfcp
23 # called by dracut
24 install() {
25 inst_hook pre-trigger 30 "$moddir/cmssetup.sh"
26 inst_hook pre-pivot 95 "$moddir/cms-write-ifcfg.sh"
27 inst_script "$moddir/cmsifup.sh" /sbin/cmsifup
28 inst_multiple /etc/cmsfs-fuse/filetypes.conf /etc/udev/rules.d/99-fuse.rules /etc/fuse.conf \
29 cmsfs-fuse fusermount ulockmgr_server bash insmod rmmod cat normalize_dasd_arg sed \
30 $(rpm -ql s390utils-base)
32 inst_libdir_file "gconv/*"
33 #inst /usr/lib/locale/locale-archive
34 dracut_need_initqueue