fcoe: move uefi parsing to fcoe-uefi module

master
Harald Hoyer 2013-12-12 09:20:53 +01:00
parent ded4c82ace
commit ab173bb4c1
3 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,22 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# called by dracut
check() {
[[ $hostonly ]] || [[ $mount_needs ]] && return 1

return 0
}

# called by dracut
depends() {
echo fcoe bash
return 0
}

# called by dracut
install() {
inst_hook cmdline 20 "$moddir/parse-uefifcoe.sh"
}

View File

@ -36,7 +36,6 @@ install() {
inst "$moddir/fcoe-up.sh" "/sbin/fcoe-up"
inst "$moddir/fcoe-edd.sh" "/sbin/fcoe-edd"
inst "$moddir/fcoe-genrules.sh" "/sbin/fcoe-genrules.sh"
inst_hook cmdline 20 "$moddir/parse-uefifcoe.sh"
inst_hook cmdline 99 "$moddir/parse-fcoe.sh"
dracut_need_initqueue
}