From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 1/2] core168: Add rd.auto to kernel command line Date: Thu, 19 May 2022 08:56:33 +0000 Message-ID: <20220519085634.197389-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5661249320273712767==" List-Id: --===============5661249320273712767== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This parameter will enable dracut to automatically launch any MDRAID arrays at boot time. Signed-off-by: Michael Tremer --- config/rootfiles/core/168/update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/rootfiles/core/168/update.sh b/config/rootfiles/core/168/= update.sh index e11e08b7f..c4005dba9 100644 --- a/config/rootfiles/core/168/update.sh +++ b/config/rootfiles/core/168/update.sh @@ -120,6 +120,10 @@ case "$(uname -m)" in ;; esac =20 +# Add rd.auto to kernel command line +if ! grep -q rd.auto /etc/default/grub; then + sed -e "s/panic=3D10/& rd.auto/" -i /etc/default/grub +fi =20 # Start services /etc/init.d/fcron restart --=20 2.30.2 --===============5661249320273712767==--