| Current Path : /home2/noxxprod/www/c52d7/ |
| Current File : //home2/noxxprod/www/c52d7/95dasd_mod.tar |
parse-dasd-mod.sh 0000755 00000000713 15272575670 0007724 0 ustar 00 #!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
mod_args=""
for dasd_arg in $(getargs rd.dasd= -d rd_DASD= DASD=); do
mod_args="$mod_args,$dasd_arg"
done
mod_args="${mod_args#*,}"
if [ -n "$mod_args" ]; then
[ -d /etc/modprobe.d ] || mkdir -m 0755 -p /etc/modprobe.d
echo "options dasd_mod dasd=$mod_args" >> /etc/modprobe.d/dasd_mod.conf
fi
unset dasd_arg
dasd_cio_free
module-setup.sh 0000755 00000000761 15272575670 0007552 0 ustar 00 #!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
local _arch=$(uname -m)
[ "$_arch" = "s390" -o "$_arch" = "s390x" ] || return 1
require_binaries grep sed seq
return 0
}
depends() {
return 0
}
installkernel() {
instmods dasd_mod dasd_eckd_mod dasd_fba_mod dasd_diag_mod
}
install() {
inst_hook cmdline 31 "$moddir/parse-dasd-mod.sh"
inst_multiple dasd_cio_free grep sed seq
}