core168: Add rd.auto to kernel command line

This parameter will enable dracut to automatically launch any MDRAID
arrays at boot time.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2022-05-19 08:56:33 +00:00
committed by Peter Müller
parent 8077bacb82
commit 69aac83da9

View File

@@ -120,6 +120,10 @@ case "$(uname -m)" in
;;
esac
# Add rd.auto to kernel command line
if ! grep -q rd.auto /etc/default/grub; then
sed -e "s/panic=10/& rd.auto/" -i /etc/default/grub
fi
# Start services
/etc/init.d/fcron restart