diff options
| author | Bill Nottingham <notting@redhat.com> | 2002-10-18 19:33:50 +0000 |
|---|---|---|
| committer | Bill Nottingham <notting@redhat.com> | 2002-10-18 19:33:50 +0000 |
| commit | 6635316ea75d257d0bfc00f3eb0026bbd48197b4 (patch) | |
| tree | 774e33ad39b0c19091a14d5d9a08912d24f507bf /rc.d | |
| parent | 06a4616ca179326a89374e11f2294bc87208759c (diff) | |
merge md module fix
Diffstat (limited to 'rc.d')
| -rwxr-xr-x | rc.d/rc.sysinit | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 3e79b21b..19c88e2e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -427,8 +427,10 @@ if [ -f /etc/rc.modules ]; then fi # Add raid devices -if [ ! -f /proc/mdstat ]; then +if [ -f /etc/raidtab ]; then + if [ ! -f /proc/mdstat ]; then modprobe md >/dev/null 2>&1 + fi fi if [ -f /proc/mdstat -a -f /etc/raidtab ]; then |
