X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b3c2645b973334f87992997f15bee3f600d3dcc3..51c76d8aa5224233370fa5de9cc1277f5a797a66:/package/compcache/files/compcache.init?ds=inline diff --git a/package/compcache/files/compcache.init b/package/compcache/files/compcache.init index b9406d108..ec377ffaa 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 }