target/x86: fix raid
This commit is contained in:
parent
2b24dd311c
commit
a2d13858c9
10
target/linux/x86/base-files/etc/init.d/mdadm_hack
Executable file
10
target/linux/x86/base-files/etc/init.d/mdadm_hack
Executable 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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user