blob: 155eaacc712ff51bb74eae88c657e7c52ca4fc53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/bin/bash
# called by dracut
check() {
local _arch=${DRACUT_ARCH:-$(uname -m)}
[ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
return 0
}
# called by dracut
depends() {
return 0
}
# called by dracut
installkernel() {
instmods dasd_mod dasd_eckd_mod dasd_fba_mod dasd_diag_mod
}
# called by dracut
install() {
inst_hook cmdline 31 "$moddir/parse-dasd-mod.sh"
inst_multiple -o dasd_cio_free
}
|