ft@0: #!/bin/sh ft@0: # This script removes the model name symlink in /var/run/usbmount. ft@0: # Copyright (C) 2005 Martin Dickopp ft@0: # ft@0: # This file is free software; the copyright holder gives unlimited ft@0: # permission to copy and/or distribute it, with or without ft@0: # modifications, as long as this notice is preserved. ft@0: # ft@0: # This file is distributed in the hope that it will be useful, ft@0: # but WITHOUT ANY WARRANTY, to the extent permitted by law; without ft@0: # even the implied warranty of MERCHANTABILITY or FITNESS FOR A ft@0: # PARTICULAR PURPOSE. ft@0: # ft@2: #set -e ft@0: ft@2: #umount "/var/run/usbmount/"* ft@2: #rmdir "/var/run/usbmount/"* ft@2: ft@2: chattr -i "/tmp/usbmount" ft@2: umount "/tmp/usbmount/"* ft@2: rmdir "/tmp/usbmount/"* ft@2: ft@2: #for tcfile in $(/usr/bin/encryptionprovider.py -g) ft@2: #do ft@2: # /usr/bin/encryptionprovider.py -u "$tcfile" ft@2: #done ft@0: ft@0: exit 0