Skip to content
GitLab
Menu
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
abad9446
Commit
abad9446
authored
Nov 01, 2001
by
Robert Ricci
Browse files
New script: control_interface . Simply prints out the name of the
control interface for this node.
parent
7b348e2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
tmcd/freebsd/GNUmakefile.in
View file @
abad9446
...
...
@@ -55,6 +55,7 @@ script-install: dir-install
/etc/dhclient-exit-hooks
$(INSTALL) -m 755 $(SRCDIR)/nodetype /etc/testbed/nodetype
$(INSTALL) -m 755 $(SRCDIR)/cpuspeed.awk /etc/testbed/cpuspeed.awk
$(INSTALL) -m 755 $(SRCDIR)/control_interface /etc/testbed/control_interface
$(INSTALL) -m 755 $(SRCDIR)/start_if.fxp0 /etc/start_if.fxp0
$(INSTALL) -m 755 $(SRCDIR)/start_if.fxp4 /etc/start_if.fxp4
$(INSTALL) -m 755 $(SRCDIR)/start_if.xl0 /etc/start_if.xl0
...
...
tmcd/freebsd/control_interface
0 → 100755
View file @
abad9446
#!/bin/sh
NODETYPE
=
`
/etc/testbed/nodetype
`
if
[
$NODETYPE
=
'pc600'
]
;
then
echo
'fxp4'
elif
[
$NODETYPE
=
'pc850'
]
;
then
echo
'fxp0'
elif
[
$NODETYPE
=
'pc1500'
]
;
then
echo
'xl0'
fi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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