summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/trex-cfg7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/trex-cfg b/scripts/trex-cfg
index 2aebf026..7a533b1f 100755
--- a/scripts/trex-cfg
+++ b/scripts/trex-cfg
@@ -9,6 +9,13 @@ else
OS=unknown
fi
+MACHINE_TYPE=`uname -m`
+if [ ${MACHINE_TYPE} != 'x86_64' ]; then
+ echo "ERROR, only 64bit OS are supported, please reinstall x86 64 bit OS"
+ exit 1
+fi
+
+
if [ -d /mnt/huge ]; then
echo >> /dev/null