summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/init.d/vyatta-router5
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/init.d/vyatta-router b/etc/init.d/vyatta-router
index e10f054..842481b 100755
--- a/etc/init.d/vyatta-router
+++ b/etc/init.d/vyatta-router
@@ -135,8 +135,9 @@ load_bootfile ()
#
cleanup_raid()
{
- MD_MODULES='linear multipath raid0 raid1 raid456 raid5 raid6 raid10'
- rmmod -s $MD_MODULES
+ rmmod raid0 raid1 raid10 raid456 raid6_pq \
+ async_raid6_recov async_pq async_xor async_memcpy async_tx \
+ linear multipath xor md_mod >/dev/null 2>&1
}
#