corrected LargePages-detection

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5049 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
danielr 17 years ago
parent f825e88a09
commit 59c4e35aaf

@ -89,12 +89,12 @@ if [ $OS = "Linux" ]
then
HUGEPAGESTOTAL="`cat /proc/meminfo | grep HugePages_Total | sed s/[^0-9]//g`"
if [ -n "$HUGEPAGESTOTAL" ] && [ $HUGEPAGESTOTAL -ne 0 ]
then
ENABLEHUGEPAGES=1
elif [ $OS = "SunOS" ]
then
ENABLEHUGEPAGES=1
fi
elif [ $OS = "SunOS" ]
then
ENABLEHUGEPAGES=1
fi

Loading…
Cancel
Save