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