target/x86: fix raid

This commit is contained in:
jjm2473 2022-06-27 18:06:28 +08:00
parent 2b24dd311c
commit a2d13858c9

View File

@ -0,0 +1,10 @@
#!/bin/sh /etc/rc.common
# work around mdadm create /dev/md* fail
# Copyright (C) 2022 jjm2473
START=12
boot() {
[ -f /proc/mdstat ] || modprobe md_mod
mount --bind /dev/full /sys/module/md_mod/parameters/new_array
}