head     1.1;
branch   1.1.1;
access   ;
symbols  dev:1.1.1.1 start:1.1.1;
locks    ; strict;
comment  @# @;


1.1
date     2006.05.30.11.44.30;  author kaurikim;  state Exp;
branches 1.1.1.1;
next     ;

1.1.1.1
date     2006.05.30.11.44.30;  author kaurikim;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#!/bin/bash

if [ "$USER" != "root" ]; then
	echo "You are not root. Please enter root password now!"
	su root -c "$0 $*"
	exit
fi
echo "flushing hd..."
sync
echo done.

if [ "$(lsmod | grep zc030x)" != "" ]; then
	echo "zc030x driver loaded."
	echo "unloading zc030x driver module..."
	rmmod zc030x
fi
if [ "$(lsmod | grep spca5xx)" != "" ]; then
	echo "spca5xx driver already loaded."
	echo "unloading driver module..."
	rmmod spca5xx
fi

if [ "$(lsmod | grep spca4zc)" != "" ]; then
	echo "spca4zc driver already loaded."
	echo "unloading driver module..."
	rmmod spca4zc
fi
echo "loading driver module..."
if [ "$(uname -r | cut -d. -f1,2)" == "2.4" ]; then
	echo "don't support linux 2.4"
else
	modprobe spca4zc
fi
echo done.
@


1.1.1.1
log
@linux usb webcam device driver for zc3xx
@
text
@@
