control_interface 382 Bytes
Newer Older
1
#!/bin/sh
Leigh B. Stoller's avatar
Leigh B. Stoller committed
2
3
#
# EMULAB-COPYRIGHT
4
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
Leigh B. Stoller's avatar
Leigh B. Stoller committed
5
6
# All rights reserved.
#
7
. /etc/emulab/paths.sh
8

9
NODETYPE=`nodetype`
10
11
12
13
case $NODETYPE in
pc300|pc1500|pc2000)
    echo 'eth0'
    ;;
14
15
16
i2)
    echo 'eth1'
    ;;
17
pc850)
18
    echo 'eth2'
19
20
    ;;
pcL440GX)
21
    echo 'eth2'
22
23
24
25
26
27
28
29
    ;;
pc600)
    echo 'eth4'
    ;;
*)
    echo 'unknown';
    ;;
esac