1#!/bin/sh
2##########################################################
3##
4##     USB Storage Module uninstallation script
5##
6##  This file is a part of BeOS USB SCSI interface module project.
7##  Copyright (c) 2003-2004 by Siarzhuk Zharski <imker@gmx.li>
8##  All rights reserved.
9##
10##  $Source: /cvsroot/sis4be/usb_scsi/freecom/uninstall.sh,v $
11##  $Author: zharik $
12##  $Revision: 1.1 $
13##  $Date: 2005/04/09 22:16:17 $
14##
15##########################################################
16
17DRIVER_TITLE="FREECOM extension for USB Storage Module"
18SETTINGS_NAME=usb_scsi
19DRIVER_TARGET_NAME=freecom
20
21answer=`alert "Do you really want to uninstall the $DRIVER_TITLE ?" "No" "Yes"`
22if [ $answer == "No" ]; then
23	exit
24fi
25
26rm ~/config/add-ons/kernel/generic/usb_scsi_extension/$DRIVER_TARGET_NAME
27
28answer=`alert "The $DRIVER_TITLE has been removed from your system. You can now remove FREECOM device description for settings file." "OK" "Edit settings"`
29if [ $answer == "OK" ]; then
30  exit
31fi
32
33StyledEdit /boot/home/config/settings/kernel/drivers/$SETTINGS_NAME
34