blob: 1937f138a8da2262a0946dd0dd1fd67eccd52cd2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/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
|