wok-6.x diff linux-zram/stuff/compcache @ rev 18404
gnome-keyring: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 19 09:46:36 2015 +0200 (2015-09-19) |
parents | 7d3f6d7f2528 |
children | 7f188676b59c |
line diff
1.1 --- a/linux-zram/stuff/compcache Mon Sep 24 12:17:18 2012 +0200 1.2 +++ b/linux-zram/stuff/compcache Sat Sep 19 09:46:36 2015 +0200 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 ;;