Commit 5b8a298f authored by Mike Hibler's avatar Mike Hibler
Browse files

support for the 'pc300' the awesome 300MHz machines that GaTech has

parent 4067d011
#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
. /etc/emulab/paths.sh
NODETYPE=`nodetype`
if [ "$NODETYPE" = 'pc600' ]; then
echo 'fxp4'
elif [ "$NODETYPE" = 'pc850' ]; then
case $NODETYPE in
pc300|pc850)
echo 'fxp0'
elif [ "$NODETYPE" = 'pcL440GX' ]; then
;;
pcL440GX)
echo 'fxp1'
elif [ "$NODETYPE" = 'pc1500' ]; then
echo 'xl0'
elif [ "$NODETYPE" = 'pc2000' ]; then
;;
pc600)
echo 'fxp4'
;;
pc1500|pc2000)
echo 'xl0'
else
echo 'unknown'
fi
;;
*)
echo 'unknown';
;;
esac
#!/usr/bin/awk -f
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -21,6 +21,10 @@
print "600";
next
}
/^CPU:.*\(29[0-9]|30[0-9]\.[0-9]+\-MHz/ {
print "300";
next
}
/^CPU:.*/ {
print "0";
next
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment