+#!/bin/sh
# close everything which is not busy
for i in /dev/mapper/luks-*; do
cryptsetup luksClose $i >/dev/null 2>&1
+#!/bin/sh
if getarg rd_NO_LUKS; then
info "rd_NO_LUKS: removing cryptoluks activation"
rm -f /etc/udev/rules.d/70-luks.rules
+#!/bin/sh
# live images are specified with
# root=live:backingdev
+#!/bin/sh
# stop everything which is not busy
lvm vgchange -a n >/dev/null 2>&1
+#!/bin/sh
# stop everything which is not busy
for i in /dev/md* /dev/md/*; do
[ -b $i ] || continue
+#!/bin/sh
for dasd_arg in $(getargs 'rd_DASD='); do
(
IFS=","
+#!/bin/sh
[ -d /etc/modprobe.d ] || mkdir /etc/modprobe.d
dasd_arg=$(getarg rd_DASD_MOD=)
+#!/bin/sh
if [ -z $iscsi_lun ]; then
iscsi_lun=0
fi
-
+#!/bin/sh
getarg rd_NO_ZFCPCONF && rm /etc/zfcp.conf
for zfcp_arg in $(getargs 'rd_ZFCP='); do
+#!/bin/sh
for ccw_arg in $(getargs 'rd_CCW='); do
echo $ccw_arg >> /etc/ccw.conf
done