#! /bin/sh #---------------------------------------------------------------------------- # system-devices-umount-usb - umount usb device # # Copyright (c) 2005 Frank Meyer # # Creation : 14.11.2003 fm # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #---------------------------------------------------------------------------- echo mountpath="/usb" . /var/install/include/eislib umount $mountpath if [ $? = 0 ] then mecho -info "umount $mountpath successful." else mecho -error "umount $mountpath failed." fi echo anykey exit 0