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/uninstall.sh,v $ 11## $Author: zharik $ 12## $Revision: 1.3 $ 13## $Date: 2004/06/06 09:19:47 $ 14## 15########################################################## 16 17DRIVER_TITLE="USB Storage Module" 18DRIVER_NAME=usb_scsi 19DRIVER_TARGET_NAME=usb 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/busses/scsi/$DRIVER_TARGET_NAME 27#rm ~/config/settings/kernel/drivers/$DRIVER_NAME 28 29answer=`alert "The $DRIVER_TITLE has been removed from your system.You need to reboot your system to finish uninstalletion" "Reboot" "OK"` 30if [ $answer == "Reboot" ]; then 31 shutdown -r 32fi 33