#!/bin/bash # called by dracut check() { local _arch=${DRACUT_ARCH:-$(uname -m)} [ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1 require_binaries grep sed seq 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 grep sed seq inst_multiple -o dasd_cio_free }