You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
277 B

#!/bin/sh
command -v getarg > /dev/null || . /lib/dracut-lib.sh
command -v ibft_to_cmdline > /dev/null || . /lib/net-lib.sh
if getargbool 0 rd.iscsi.ibft -d "ip=ibft"; then
modprobe -b -q iscsi_boot_sysfs 2> /dev/null
modprobe -b -q iscsi_ibft
ibft_to_cmdline
fi