Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

12swap: fix typo

Change-Id: I20792b55ed7b8404e5da9acf8f84d4ca04230650
  • Loading branch information...
commit 3328ada186119f0083c24034bf881d33746a4b48 1 parent 47f7b21
@nadlabak nadlabak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  prebuilt/etc/init.d/12swap
View
2  prebuilt/etc/init.d/12swap
@@ -11,7 +11,7 @@ if [ $SWAPSIZE -eq 0 ]; then
exit
fi
SWAPPARTSIZE=$((`cat /sys/block/mmcblk0/mmcblk0p3/size`/2))
-if [ $SWAPSIZE -qt $SWAPPARTSIZE ]; then
+if [ $SWAPSIZE -gt $SWAPPARTSIZE ]; then
SWAPSIZE=$SWAPPARTSIZE
fi
mkswap /dev/block/mmcblk0p3 $SWAPSIZE
Please sign in to comment.
Something went wrong with that request. Please try again.