Commit efe6b3bc authored by Mike Hibler's avatar Mike Hibler

Hacks to recognize "pc3000" type, the new Dell optiplexen

parent 15cf3b87
......@@ -21,7 +21,7 @@ pc600|pc850a)
pc1500|pc2000)
echo 'xl0'
;;
pc2400-aero)
pc3000|pc2400-aero)
echo 'em0'
;;
pc2400-orbit)
......
......@@ -9,6 +9,11 @@ BEGIN {
found = 0;
}
/^CPU:.*\((29[5-9][0-9]|30[0-4][0-9])\.[0-9]+\-MHz/ {
print "3000";
found = 1;
exit
}
/^CPU:.*\((24[5-9][0-9]|25[0-4][0-9])\.[0-9]+\-MHz/ {
print "2500";
found = 1;
......
......@@ -9,7 +9,7 @@
NODETYPE=`$BINDIR/nodetype`
case $NODETYPE in
pc300|pc1500|pc2000|pc2400-aero|pc2400-orbit|pc733|pcL440GX)
pc300|pc1500|pc2000|pc3000|pc2400-aero|pc2400-orbit|pc733|pcL440GX)
echo 'eth0'
;;
i2)
......
......@@ -5,6 +5,10 @@
# All rights reserved.
#
/^cpu MHz.*(29[5-9][0-9]|30[0-4][0-9])\.[0-9]+$/ {
print "3000";
exit
}
/^cpu MHz.*(24[5-9][0-9]|25[0-4][0-9])\.[0-9]+$/ {
print "2500";
exit
......
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