summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2011-11-29 11:41:08 -0800
committerStephen Hemminger <shemminger@vyatta.com>2011-11-29 11:44:19 -0800
commited1a224a9c784231a64f6e07a7ada56629d34d6f (patch)
tree3345870590e173ffd75ca740f0d0328937f196df /etc
parent478c9ba8966445ae792e26fbbc3b044fc69efdbb (diff)
downloadvyatta-cfg-ed1a224a9c784231a64f6e07a7ada56629d34d6f.tar.gz
vyatta-cfg-ed1a224a9c784231a64f6e07a7ada56629d34d6f.zip
init: unload unneeded raid modules
Bug 6472 Ok to remove more raid modules
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
}
#