X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Fget_tw_cli;fp=scripts%2Fget_tw_cli;h=1dbbdbeece40d5d1ec5515d4da27e2eb8aafef1a;hb=897ba1ee0baa438969238211b815f7ba437875ef;hp=0000000000000000000000000000000000000000;hpb=b281efde595f0e6b17958e07fb14d4e03c523750;p=grml.org.git diff --git a/scripts/get_tw_cli b/scripts/get_tw_cli new file mode 100644 index 0000000..1dbbdbe --- /dev/null +++ b/scripts/get_tw_cli @@ -0,0 +1,63 @@ +#!/bin/sh +# Filename: get_tw_cli +# Purpose: get 3ware RAID controller command line interface tool (tw_cli) +# Authors: grml-team (grml.org), (c) Michael Prokop , Wolfram Schlich +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2. +# Latest change: Thu Feb 09 12:20:30 CET 2006 [mika] +################################################################################ +# Notice: this file is based on: +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $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 $ +################################################################################ + +if [ -r /etc/grml/lsb-functions ] ; then + . /etc/grml/lsb-functions +else + alias einfo="echo" +fi + +PN="tw_cli" +PV="9.3.0.2" +MY_P="${PN}-linux-x86-${PV}" +SRC_URI_BASE="http://www.3ware.com/download/Escalade9000Series/${PV}" +SRC_URI="${SRC_URI_BASE}/${PN}-linux-x86-${PV}.tgz" +DOWNLOAD_URL="http://www.3ware.com/support/windows_agree.asp?path=/download/Escalade9000Series/${PV}/${MY_P}.tgz" + +info() { + einfo "get_tw_cli - get 3ware RAID controller command line interface tool (tw_cli)" + einfo "===========================================================================" + einfo "" +} + +supportedcards() { + einfo "This binary supports all current cards, including, but not limited to:" + einfo "" + einfo "PATA: 7210, 7410, 7450, 7810, 7850, 7000-2, 7500-4, 7500-8," + einfo " 7500-12, 7006-2, 7506-4, 7506-4LP, 7506-8, 7506-12" + einfo "" + einfo "SATA: 8500-4, 8500-8, 8500-12, 8006-2, 8506-4, 8506-12," + einfo " 8506-8MI, 8506-12MI, 9500S-4LP, 9500S-8, 9500S-12," + einfo " 9500S-8MI, 9500S-12MI" + einfo " 9500S-8MI, 9500S-12MI" + einfo "" +} + +pkg_nofetch() { + einfo "Please agree to the license at URL" + einfo "" + einfo "\t${DOWNLOAD_URL}" + einfo "" + einfo "And then use the following URL to download the correct tarball:" + einfo "" + einfo "\t${SRC_URI}" + einfo "" +} + +info +pkg_nofetch +supportedcards +# unp ${MY_P}.tgz + +## END OF FILE #################################################################