Fix compcache

Change-Id: Ib36051d48c232dc7b0bd6fdbb782847ca5ae6398
This commit is contained in:
William Graham 2011-04-10 16:25:16 -05:00 committed by Keyan Mobli
parent 08b94817c1
commit 3f47346c30

View file

@ -24,7 +24,7 @@ case "$1" in
if [ $MODULE = ramzswap ]; then
rzscontrol $DEV --disksize_kb=$2 --init
else
echo "$((2 * 1024))" > $SYSFS_PATH/disksize
echo "$(($2 * 1024))" > $SYSFS_PATH/disksize
mkswap $DEV >/dev/null
fi
swapon $DEV