ft@0
|
1 |
#!/bin/sh
|
ft@0
|
2 |
# This script removes the model name symlink in /var/run/usbmount.
|
ft@0
|
3 |
# Copyright (C) 2005 Martin Dickopp
|
ft@0
|
4 |
#
|
ft@0
|
5 |
# This file is free software; the copyright holder gives unlimited
|
ft@0
|
6 |
# permission to copy and/or distribute it, with or without
|
ft@0
|
7 |
# modifications, as long as this notice is preserved.
|
ft@0
|
8 |
#
|
ft@0
|
9 |
# This file is distributed in the hope that it will be useful,
|
ft@0
|
10 |
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
ft@0
|
11 |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
ft@0
|
12 |
# PARTICULAR PURPOSE.
|
ft@0
|
13 |
#
|
ft@2
|
14 |
#set -e
|
ft@0
|
15 |
|
ft@2
|
16 |
#umount "/var/run/usbmount/"*
|
ft@2
|
17 |
#rmdir "/var/run/usbmount/"*
|
ft@2
|
18 |
|
ft@2
|
19 |
chattr -i "/tmp/usbmount"
|
ft@2
|
20 |
umount "/tmp/usbmount/"*
|
ft@2
|
21 |
rmdir "/tmp/usbmount/"*
|
ft@2
|
22 |
|
ft@2
|
23 |
#for tcfile in $(/usr/bin/encryptionprovider.py -g)
|
ft@2
|
24 |
#do
|
ft@2
|
25 |
# /usr/bin/encryptionprovider.py -u "$tcfile"
|
ft@2
|
26 |
#done
|
ft@0
|
27 |
|
ft@0
|
28 |
exit 0
|