summaryrefslogtreecommitdiff
path: root/core/mdadm/mdadm_hook
diff options
context:
space:
mode:
Diffstat (limited to 'core/mdadm/mdadm_hook')
-rwxr-xr-xcore/mdadm/mdadm_hook2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/mdadm/mdadm_hook b/core/mdadm/mdadm_hook
index 1d217a5a8..7b2dc1ad1 100755
--- a/core/mdadm/mdadm_hook
+++ b/core/mdadm/mdadm_hook
@@ -39,4 +39,6 @@ run_hook ()
esac
done
fi
+ # assemble everything
+ [ -e $mdconfig ] && /sbin/mdassemble
}