#!/bin/sh
#
#	name: ELSA_install
#
# Bourne shell script for installation of ELSA WINNER 1000/2000 Display Adapter
# driver
#
# Installation process is as follows (see README / LIESMICH):
#
# After mounting the floppy drive, the user copies the file winnext.tar, an
# ordinary tar-file, into itBs working directory and extracts those files:
# - WINNER.config.tgz	made by a 'gnutar --gzip -cf WINNER.config'
# - ELSA_install	this script file 

SRCDIR=`echo $0 | sed -e 's/\/ELSA_install//g'`
TMPDIR=/tmp
DRIVERPACKEDNAME=WINNER.config.tgz
DRIVERNAME=WINNER.config


#	extract tar-file to the temporary directory

gnutar -C /tmp -z -xf $SRCDIR/$DRIVERPACKEDNAME

#	start Configure with extracted WINNER.config in the temporary directory

open /NextAdmin/Configure.app $TMPDIR/$DRIVERNAME

