]> git.ipfire.org Git - thirdparty/dracut.git/blob - modules.d/35network-legacy/parse-ibft.sh
network-legacy: split off from network module
[thirdparty/dracut.git] / modules.d / 35network-legacy / parse-ibft.sh
1 #!/bin/sh
2
3 command -v getarg >/dev/null || . /lib/dracut-lib.sh
4 command -v ibft_to_cmdline >/dev/null || . /lib/net-lib.sh
5
6 if getargbool 0 rd.iscsi.ibft -d "ip=ibft"; then
7 modprobe -b -q iscsi_boot_sysfs 2>/dev/null
8 modprobe -b -q iscsi_ibft
9 ibft_to_cmdline
10 fi