Debian Codegraph @

test/dapltest/scripts/srv.sh

raw
1 #!/bin/sh
2 #
3 # Copyright (c) 2002-2005, Network Appliance, Inc. All rights reserved.
4 # Copyright (c) 2014 Intel Corporation. All rights reserved.
5 #
6 # This Software is licensed under one of the following licenses:
7 #
8 # 1) under the terms of the "Common Public License 1.0" a copy of which is
9 # in the file LICENSE.txt in the root directory. The license is also
10 # available from the Open Source Initiative, see
11 # http://www.opensource.org/licenses/cpl.php.
12 #
13 # 2) under the terms of the "The BSD License" a copy of which is in the file
14 # LICENSE2.txt in the root directory. The license is also available from
15 # the Open Source Initiative, see
16 # http://www.opensource.org/licenses/bsd-license.php.
17 #
18 # 3) under the terms of the "GNU General Public License (GPL) Version 2" a
19 # copy of which is in the file LICENSE3.txt in the root directory. The
20 # license is also available from the Open Source Initiative, see
21 # http://www.opensource.org/licenses/gpl-license.php.
22 #
23 # Licensee has the right to choose one of the above licenses.
24 #
25 # Redistributions of source code must retain the above copyright
26 # notice and one of the license notices.
27 #
28 # Redistributions in binary form must reproduce both the above copyright
29 # notice, one of the license notices in the documentation
30 # and/or other materials provided with the distribution.
31 #
32 # Sample DAPLtest server Usage: srv.sh [device]
33 #
34 # default device = ofa-v2-ib0
35 #
36
37 DT=dapltest
38 D=ofa-v2-ib0
39
40 if [ ! "$1" == "" ] ; then
41 D=$1
42 fi
43
44 $DT -T S -D $D
45 exit $?
46
47