wok-current rev 16679

linux-zram: update init script module parameter
author Richard Dunbar <mojo@slitaz.org>
date Fri May 16 03:34:24 2014 +0000 (2014-05-16)
parents 4e519df1c7b9
children 9e29d7944214
files linux-zram/stuff/compcache linux64-zram/stuff/compcache
line diff
     1.1 --- a/linux-zram/stuff/compcache	Fri May 16 09:47:35 2014 +0000
     1.2 +++ b/linux-zram/stuff/compcache	Fri May 16 03:34:24 2014 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4        exit 1
     1.5      fi
     1.6      echo -n "Loading module"
     1.7 -    modprobe zram num_devices=1 &&
     1.8 +    modprobe zram zram_num_devices=1 &&
     1.9      [ -n "$SIZE_KB" ] && echo $(($SIZE_KB * 1024)) > /sys/block/zram0/disksize
    1.10      status
    1.11  
    1.12 @@ -32,7 +32,7 @@
    1.13      echo -n "Stopping $NAME... "
    1.14      swapoff /dev/zram0 && echo 1 > /sys/block/zram0/reset
    1.15      status
    1.16 -    echo -n "Unloding modules"
    1.17 +    echo -n "Unloading module"
    1.18      rmmod zram
    1.19      status
    1.20      ;;
     2.1 --- a/linux64-zram/stuff/compcache	Fri May 16 09:47:35 2014 +0000
     2.2 +++ b/linux64-zram/stuff/compcache	Fri May 16 03:34:24 2014 +0000
     2.3 @@ -16,7 +16,7 @@
     2.4        exit 1
     2.5      fi
     2.6      echo -n "Loading module"
     2.7 -    modprobe zram num_devices=1 &&
     2.8 +    modprobe zram zram_num_devices=1 &&
     2.9      [ -n "$SIZE_KB" ] && echo $(($SIZE_KB * 1024)) > /sys/block/zram0/disksize
    2.10      status
    2.11  
    2.12 @@ -32,7 +32,7 @@
    2.13      echo -n "Stopping $NAME... "
    2.14      swapoff /dev/zram0 && echo 1 > /sys/block/zram0/reset
    2.15      status
    2.16 -    echo -n "Unloding modules"
    2.17 +    echo -n "Unloading module"
    2.18      rmmod zram
    2.19      status
    2.20      ;;