contrib: dracut: parse-zfs: drop initqueue-finished for i/f

The switch was released in dracut 009 in March 2011,
we can safely get rid of the compatibility hook

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13291
This commit is contained in:
наб 2022-04-04 18:38:07 +02:00 committed by Brian Behlendorf
parent b657f2c592
commit 47636f5661

View File

@ -59,8 +59,5 @@ esac
if [ "${wait_for_zfs}" -eq 1 ]; then if [ "${wait_for_zfs}" -eq 1 ]; then
ln -s /dev/null /dev/root 2>/dev/null ln -s /dev/null /dev/root 2>/dev/null
initqueuedir="${hookdir}/initqueue/finished" initqueuedir="${hookdir}/initqueue/finished"
test -d "${initqueuedir}" || {
initqueuedir="${hookdir}/initqueue-finished"
}
echo '[ -e /dev/zfs ]' > "${initqueuedir}/zfs.sh" echo '[ -e /dev/zfs ]' > "${initqueuedir}/zfs.sh"
fi fi