diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-03-19 16:34:41 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-03-19 16:34:41 +0000 |
commit | cd8e3a80555e0e120f400a2bbdd7528f5996cf46 (patch) | |
tree | 12072be28dcdb9db176af89c19fc623950c2ffb4 /package/compcache/files/compcache.init | |
parent | 08a790efb6a71152a293735a174332693a9d15ae (diff) | |
download | master-31e0f0ae-cd8e3a80555e0e120f400a2bbdd7528f5996cf46.tar.gz master-31e0f0ae-cd8e3a80555e0e120f400a2bbdd7528f5996cf46.tar.bz2 master-31e0f0ae-cd8e3a80555e0e120f400a2bbdd7528f5996cf46.zip |
update compcache to 0.6.2 (#6884)
SVN-Revision: 20303
Diffstat (limited to 'package/compcache/files/compcache.init')
-rw-r--r-- | package/compcache/files/compcache.init | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/package/compcache/files/compcache.init b/package/compcache/files/compcache.init index b9406d108c..ec377ffaa8 100644 --- a/package/compcache/files/compcache.init +++ b/package/compcache/files/compcache.init @@ -18,7 +18,6 @@ load_modules() { params_set="disksize_kb=$size_kbytes" fi if [ "`lsmod | grep 'ramzswap'`" == "" ]; then - insmod xvmalloc insmod lzo1x insmod ramzswap $params_set swapon /dev/ramzswap0 @@ -34,7 +33,6 @@ remove_modules() { [ "`cat /proc/swaps | grep 'ramzswap0'`" != "" ] && swapoff /dev/ramzswap0 [ "`lsmod | grep 'ramzswap'`" != "" ] && rmmod ramzswap &> /dev/null [ "`lsmod | grep 'lzo1x'`" != "" ] && rmmod lzo1x &> /dev/null - [ "`lsmod | grep 'xvmalloc'`" != "" ] && rmmod xvmalloc &> /dev/null fi } |