diff -r 60bc07f3f415 -r ee0797f46473 usbmount/umount.d/00_remove_model_symlink --- a/usbmount/umount.d/00_remove_model_symlink Thu Feb 27 17:12:59 2014 +0100 +++ b/usbmount/umount.d/00_remove_model_symlink Tue Nov 04 14:58:00 2014 +0100 @@ -11,9 +11,18 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. # -set -e +#set -e -umount "/var/run/usbmount/"* -rmdir "/var/run/usbmount/"* +#umount "/var/run/usbmount/"* +#rmdir "/var/run/usbmount/"* + +chattr -i "/tmp/usbmount" +umount "/tmp/usbmount/"* +rmdir "/tmp/usbmount/"* + +#for tcfile in $(/usr/bin/encryptionprovider.py -g) +#do +# /usr/bin/encryptionprovider.py -u "$tcfile" +#done exit 0