diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-11-29 11:41:08 -0800 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-11-29 11:44:19 -0800 |
commit | ed1a224a9c784231a64f6e07a7ada56629d34d6f (patch) | |
tree | 3345870590e173ffd75ca740f0d0328937f196df /etc | |
parent | 478c9ba8966445ae792e26fbbc3b044fc69efdbb (diff) | |
download | vyatta-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-x | etc/init.d/vyatta-router | 5 |
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 } # |