[ar71xx] fix dir-825-b1 default network config after r21905
[openwrt.git] / package / compcache / files / compcache.init
index b9406d1..ec377ff 100644 (file)
@@ -18,7 +18,6 @@ load_modules() {
                                params_set="disksize_kb=$size_kbytes"
                        fi
                        if [ "`lsmod | grep 'ramzswap'`" == "" ]; then
                                params_set="disksize_kb=$size_kbytes"
                        fi
                        if [ "`lsmod | grep 'ramzswap'`" == "" ]; then
-                               insmod xvmalloc
                                insmod lzo1x
                                insmod ramzswap $params_set
                                swapon /dev/ramzswap0
                                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
                [ "`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
 }
 
        fi
 }
 
This page took 0.024469 seconds and 4 git commands to generate.