From b4a7122cacef647dbec3db5c9ebe1e504a7670df Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 20 Sep 2005 07:04:35 +0000 Subject: Updates against mainline OE git-svn-id: https://svn.o-hand.com/repos/poky@26 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/orinoco/spectrum-fw/get_symbol_fw | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100755 openembedded/packages/orinoco/spectrum-fw/get_symbol_fw (limited to 'openembedded/packages/orinoco/spectrum-fw/get_symbol_fw') diff --git a/openembedded/packages/orinoco/spectrum-fw/get_symbol_fw b/openembedded/packages/orinoco/spectrum-fw/get_symbol_fw new file mode 100755 index 0000000000..e7b0bf2d44 --- /dev/null +++ b/openembedded/packages/orinoco/spectrum-fw/get_symbol_fw @@ -0,0 +1,43 @@ +#!/bin/sh + +# Get firmware for Symbol Spectrum24 Trilogy. +# Both the header file and the binary firmware files are produced. + +# Copyright (C) 2004 Pavel Roskin + +# This script is Free Software, and it can be copied, distributed and +# modified as defined in the GNU General Public License. A copy of +# its license can be downloaded from http://www.gnu.org/copyleft/gpl.html + +# Usage: get_symbol_fw +# Output: spectrum_fw.h symbol_sp24t_prim_fw symbol_sp24t_sec_fw +# Needed tools: curl (or wget), unzip, perl. + +set -e + +URL_BASE='ftp://symstore.longisland.com/Symstore/services_download/wirless_prod/' +DL_FILE='MC&DriverOnlyInstallers.zip' +DL_INT1='S24DRVR392B67-01.exe' +DL_INT2='Driver Only Installer/NetWLan5.sys' +DRIVER1=symbol1.drv +DRIVER2=symbol2.drv + +get_file() { + curl --remote-name "$1" || \ + wget --passive-ftp "$1" || \ + wget "$1" || \ + ftp "$1" $DRIVER1 +unzip -p $DRIVER1 "$DL_INT2" >$DRIVER2 + +perl parse_symbol_fw $DRIVER2 spectrum_fw.h symbol_sp24t_prim_fw \ + symbol_sp24t_sec_fw + +rm -f $DRIVER1 $DRIVER2 \ No newline at end of file -- cgit v1.2.3-54-g00ecf