aboutsummaryrefslogtreecommitdiffstats
path: root/package/compcache/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-19 16:34:41 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-19 16:34:41 +0000
commitd19437f843bbc9f869b300196cd18277613194d1 (patch)
treee086f4ecb6246f1949414fc18602ecdc804e1c01 /package/compcache/files
parent34109ec1275b6837d551260068149451d24ead18 (diff)
downloadupstream-d19437f843bbc9f869b300196cd18277613194d1.tar.gz
upstream-d19437f843bbc9f869b300196cd18277613194d1.tar.bz2
upstream-d19437f843bbc9f869b300196cd18277613194d1.zip
[package] update compcache to 0.6.2 (#6884)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20303 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/compcache/files')
-rw-r--r--package/compcache/files/compcache.init2
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
}