Added tag 0.9.39 for changeset d0971ef518d8
[grml-scripts.git] / usr_bin / get_tw_cli
1 #!/bin/sh
2 # Filename:      get_tw_cli
3 # Purpose:       get 3ware RAID controller command line interface tool (tw_cli)
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>, Wolfram Schlich <wschlich@gentoo.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2.
7 # Latest change: Thu Feb 09 12:20:30 CET 2006 [mika]
8 ################################################################################
9 # Notice: this file is based on:
10 # Copyright 1999-2006 Gentoo Foundation
11 # Distributed under the terms of the GNU General Public License v2
12 # $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-x86/sys-block/tw_cli/tw_cli-9.3.0.2.ebuild,v 1.1 2006/01/12 23:36:17 wschlich Exp $
13 ################################################################################
14
15 if [ -r /etc/grml/lsb-functions ] ; then
16   . /etc/grml/lsb-functions
17 else
18   alias einfo="echo"
19 fi
20
21 PN="tw_cli"
22 PV="9.3.0.2"
23 MY_P="${PN}-linux-x86-${PV}"
24 SRC_URI_BASE="http://www.3ware.com/download/Escalade9000Series/${PV}"
25 SRC_URI="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz"
26 DOWNLOAD_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade9000Series/${PV}/${MY_P}.tgz"
27
28 info() {
29         einfo "get_tw_cli - get 3ware RAID controller command line interface tool (tw_cli)"
30         einfo "==========================================================================="
31         einfo ""
32 }
33
34 supportedcards() {
35         einfo "This binary supports all current cards, including, but not limited to:"
36         einfo ""
37         einfo "PATA: 7210, 7410, 7450, 7810, 7850, 7000-2, 7500-4, 7500-8,"
38         einfo "      7500-12, 7006-2, 7506-4, 7506-4LP, 7506-8, 7506-12"
39         einfo ""
40         einfo "SATA: 8500-4, 8500-8, 8500-12, 8006-2, 8506-4, 8506-12,"
41         einfo "      8506-8MI, 8506-12MI, 9500S-4LP, 9500S-8, 9500S-12,"
42         einfo "      9500S-8MI, 9500S-12MI"
43         einfo "      9500S-8MI, 9500S-12MI"
44         einfo ""
45 }
46
47 pkg_nofetch() {
48         einfo "Please agree to the license at URL"
49         einfo ""
50         einfo "\t${DOWNLOAD_URL}"
51         einfo ""
52         einfo "And then use the following URL to download the correct tarball:"
53         einfo ""
54         einfo "\t${SRC_URI}"
55         einfo ""
56 }
57
58 info
59 pkg_nofetch
60 supportedcards
61 # unp ${MY_P}.tgz
62
63 ## END OF FILE #################################################################