mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
committed by
Peter Müller
parent
8077bacb82
commit
69aac83da9
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user