Fix compcache
Change-Id: Ib36051d48c232dc7b0bd6fdbb782847ca5ae6398
This commit is contained in:
parent
08b94817c1
commit
3f47346c30
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue