Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
efe6b3bc
Commit
efe6b3bc
authored
May 12, 2004
by
Mike Hibler
Browse files
Hacks to recognize "pc3000" type, the new Dell optiplexen
parent
15cf3b87
Changes
4
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/control_interface
View file @
efe6b3bc
...
...
@@ -21,7 +21,7 @@ pc600|pc850a)
pc1500|pc2000
)
echo
'xl0'
;;
pc2400-aero
)
pc3000|
pc2400-aero
)
echo
'em0'
;;
pc2400-orbit
)
...
...
tmcd/freebsd/cpuspeed.awk
View file @
efe6b3bc
...
...
@@ -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
;
...
...
tmcd/linux/control_interface
View file @
efe6b3bc
...
...
@@ -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
)
...
...
tmcd/linux/cpuspeed.awk
View file @
efe6b3bc
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment